Changeset 5123
- Timestamp:
- 03/27/2007 11:51:26 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/categories.js
r4187 r5123 3 3 document.forms.addcat.submit.onclick = function(e) {return killSubmit('theList.ajaxAdder("cat", "addcat");', e); }; 4 4 theList.addComplete = function(what, where, update, transport) { 5 var name = getNodeValue(transport.responseXML, 'name') ;5 var name = getNodeValue(transport.responseXML, 'name').unescapeHTML(); 6 6 var id = transport.responseXML.getElementsByTagName(what)[0].getAttribute('id'); 7 7 var options = document.forms['addcat'].category_parent.options;
Note: See TracChangeset
for help on using the changeset viewer.