From ebc41d2bed365692c35ccb99e26f51a9f3ebfa15 Mon Sep 17 00:00:00 2001 From: cfoe <cfoe@ispconfig3> Date: Fri, 31 Aug 2012 14:40:16 +0000 Subject: [PATCH] fix for IE7 + IE8 compatibility --- interface/web/js/scrigo.js.php | 24 ++++++++++++------------ interface/web/monitor/show_sys_state.php | 6 +++--- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/interface/web/js/scrigo.js.php b/interface/web/js/scrigo.js.php index 6be0225d34..e550b472f1 100644 --- a/interface/web/js/scrigo.js.php +++ b/interface/web/js/scrigo.js.php @@ -32,7 +32,7 @@ function loadContentRefresh(pagename) { }, error: function() { reportError('Ajax Request was not successful.'+pagename); - }, + } }); setTimeout( "loadContentRefresh('"+pagename+"&refresh="+document.getElementById('refreshinterval').value+"')", document.getElementById('refreshinterval').value*1000 ); } @@ -59,7 +59,7 @@ function capp(module, redirect) { }, error: function() { reportError('Ajax Request was not successful.'+module); - }, + } }); } @@ -98,7 +98,7 @@ function submitLoginForm(formname) { }, error: function() { reportError('Ajax Request was not successful.110'); - }, + } }); /* if(redirect != '') { @@ -130,7 +130,7 @@ function submitForm(formname,target) { error: function(jqXHR, textStatus, errorThrown) { var parts = jqXHR.responseText.split(':'); reportError('Ajax Request was not successful. 111'); - }, + } }); /* if(redirect != '') { @@ -163,7 +163,7 @@ function submitFormConfirm(formname,target,confirmation) { error: function(jqXHR, textStatus, errorThrown) { var parts = jqXHR.responseText.split(':'); reportError('Ajax Request was not successful. 111'); - }, + } }); } } @@ -237,7 +237,7 @@ function loadContent(pagename) { }, error: function() { reportError('Ajax Request was not successful. 113'); - }, + } }); } @@ -258,7 +258,7 @@ function loadInitContent() { }, error: function() { reportError('Ajax Request was not successful. 114'); - }, + } }); loadMenus(); @@ -285,7 +285,7 @@ function loadMenus() { }, error: function() { reportError('Ajax Request was not successful. 115'); - }, + } }); var topNavObject = jQuery.ajax({ type: "GET", @@ -297,7 +297,7 @@ function loadMenus() { }, error: function(o) { reportError('Ajax Request was not successful. 116'); - }, + } }); } @@ -353,7 +353,7 @@ function loadContentInto(elementid,pagename) { }, error: function() { reportError('Ajax Request was not successful. 118'); - }, + } }); } @@ -376,7 +376,7 @@ function loadOptionInto(elementid,pagename) { }, error: function() { reportError('Ajax Request was not successful. 119'); - }, + } }); } @@ -389,7 +389,7 @@ function keepalive() { }, error: function() { reportError('Session expired. Please login again.'); - }, + } }); //setTimeout( keepalive, 1000000 ); } diff --git a/interface/web/monitor/show_sys_state.php b/interface/web/monitor/show_sys_state.php index e6dbc92518..92f9f150f1 100644 --- a/interface/web/monitor/show_sys_state.php +++ b/interface/web/monitor/show_sys_state.php @@ -290,9 +290,9 @@ function _getServerState($serverId, $serverName) { /* * Finish all html's */ - $html_ve .= '</div></div></div>'; - $html_server .= '<div>##VE_INFO##</div></div></div></div>'; - $html_verbose .= '</div></div></div>'; + $html_ve .= '</div></div>'; + $html_server .= '<div>##VE_INFO##</div></div></div>'; + $html_verbose .= '</div></div>'; /* * create and return the result -- GitLab