mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
11 lines
212 B
JavaScript
11 lines
212 B
JavaScript
var catId;
|
|
$('.add_custom_field').on('click', function () {
|
|
catId = $(this).attr('data-content');
|
|
});
|
|
|
|
function custom_field (attr) {
|
|
var link = attr + "&id=" + catId;
|
|
window.location.href = link;
|
|
}
|
|
|