| | |
| | | }); |
| | | }, |
| | | |
| | | loadOptionInto: function(elementid,pagename) { |
| | | loadOptionInto: function(elementid,pagename,callback) { |
| | | var pageContentObject2 = $.ajax({ |
| | | type: "GET", |
| | | url: pagename, |
| | |
| | | foo2.appendChild(document.createTextNode(elemente[i])); |
| | | foo2.value=elemente[i]; |
| | | el.appendChild(foo2); |
| | | } |
| | | if (typeof(callback) != 'undefined') { |
| | | callback(elementid,pagename); |
| | | } |
| | | }, |
| | | error: function() { |
| | |
| | | |
| | | var dir = $self.attr('data-ordered'); |
| | | |
| | | act = act + '?orderby=' + column; |
| | | var separator = '?'; |
| | | if(act.indexOf("?") >= 0){ |
| | | separator = '&'; |
| | | } |
| | | act = act + separator + 'orderby=' + column; |
| | | ISPConfig.submitForm(form, act); |
| | | |
| | | $(document).ajaxComplete(function() { |