HEX
Server: Apache
System: Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: camjab_ssh (1000)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: /home/httpd/html/gayredneck.com/public_html/wp-admin/categories.js
addLoadEvent(function() {
	if (!theList.theList) return false;
	document.forms.addcat.submit.onclick = function(e) {return killSubmit('theList.ajaxAdder("cat", "addcat");', e); };
	theList.addComplete = function(what, where, update, transport) {
		var name = getNodeValue(transport.responseXML, 'name').unescapeHTML();
		var id = transport.responseXML.getElementsByTagName(what)[0].getAttribute('id');
		var options = document.forms['addcat'].category_parent.options;
		options[options.length] = new Option(name, id);
	};
	theList.delComplete = function(what, id) {
		var options = document.forms['addcat'].category_parent.options;
		for ( var o = 0; o < options.length; o++ )
			if ( id == options[o].value )
				options[o] = null;
	};
});