WordPress/wp-admin/categories.js

6 lines
218 B
JavaScript

addLoadEvent(newCategoryAddIn);
function newCategoryAddIn() {
if (!theList.theList) return false;
document.forms.addcat.submit.onclick = function(e) {return killSubmit('theList.ajaxAdder("cat", "addcat");', e); };
}