| | |
| | | } |
| | | } |
| | | |
| | | function onAfterContentLoad() { |
| | | $('#pageContent').find("select").combobox(); |
| | | } |
| | | |
| | | function loadContentRefresh(pagename) { |
| | | |
| | | if(document.getElementById('refreshinterval').value > 0) { |
| | |
| | | success: function(data, textStatus, jqXHR) { |
| | | hideLoadIndicator(); |
| | | jQuery('#pageContent').html(jqXHR.responseText); |
| | | onAfterContentLoad(); |
| | | pageFormChanged = false; |
| | | }, |
| | | error: function() { |
| | |
| | | document.location.href = 'index.php'; |
| | | } else { |
| | | jQuery('#pageContent').html(jqXHR.responseText); |
| | | onAfterContentLoad(); |
| | | pageFormChanged = false; |
| | | } |
| | | loadMenus(); |
| | |
| | | //window.setTimeout('loadContent(redirect)', 1000); |
| | | } else { |
| | | jQuery('#pageContent').html(jqXHR.responseText); |
| | | onAfterContentLoad(); |
| | | pageFormChanged = false; |
| | | } |
| | | }, |
| | |
| | | //window.setTimeout('loadContent(redirect)', 1000); |
| | | } else { |
| | | jQuery('#pageContent').html(jqXHR.responseText); |
| | | onAfterContentLoad(); |
| | | pageFormChanged = false; |
| | | } |
| | | }, |
| | |
| | | //jQuery.each(reponseScript, function(idx, val) { eval(val.text); } ); |
| | | |
| | | jQuery('#pageContent').html(jqXHR.responseText); |
| | | onAfterContentLoad(); |
| | | pageFormChanged = false; |
| | | } |
| | | }, |
| | |
| | | loadContent(parts[1]); |
| | | } else { |
| | | jQuery('#pageContent').html(jqXHR.responseText); |
| | | onAfterContentLoad(); |
| | | pageFormChanged = false; |
| | | } |
| | | }, |