mirror of
https://github.com/WordPress/WordPress.git
synced 2024-08-30 17:49:38 +02:00
7 lines
298 B
JavaScript
7 lines
298 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); };
|
||
|
theList.clearInputs.push('cat_name','category_parent','category_description');
|
||
|
}
|