Commit ebc41d2b authored by cfoe's avatar cfoe
Browse files

fix for IE7 + IE8 compatibility

parent 04b82aca
...@@ -32,7 +32,7 @@ function loadContentRefresh(pagename) { ...@@ -32,7 +32,7 @@ function loadContentRefresh(pagename) {
}, },
error: function() { error: function() {
reportError('Ajax Request was not successful.'+pagename); reportError('Ajax Request was not successful.'+pagename);
}, }
}); });
setTimeout( "loadContentRefresh('"+pagename+"&refresh="+document.getElementById('refreshinterval').value+"')", document.getElementById('refreshinterval').value*1000 ); setTimeout( "loadContentRefresh('"+pagename+"&refresh="+document.getElementById('refreshinterval').value+"')", document.getElementById('refreshinterval').value*1000 );
} }
...@@ -59,7 +59,7 @@ function capp(module, redirect) { ...@@ -59,7 +59,7 @@ function capp(module, redirect) {
}, },
error: function() { error: function() {
reportError('Ajax Request was not successful.'+module); reportError('Ajax Request was not successful.'+module);
}, }
}); });
} }
...@@ -98,7 +98,7 @@ function submitLoginForm(formname) { ...@@ -98,7 +98,7 @@ function submitLoginForm(formname) {
}, },
error: function() { error: function() {
reportError('Ajax Request was not successful.110'); reportError('Ajax Request was not successful.110');
}, }
}); });
/* /*
if(redirect != '') { if(redirect != '') {
...@@ -130,7 +130,7 @@ function submitForm(formname,target) { ...@@ -130,7 +130,7 @@ function submitForm(formname,target) {
error: function(jqXHR, textStatus, errorThrown) { error: function(jqXHR, textStatus, errorThrown) {
var parts = jqXHR.responseText.split(':'); var parts = jqXHR.responseText.split(':');
reportError('Ajax Request was not successful. 111'); reportError('Ajax Request was not successful. 111');
}, }
}); });
/* /*
if(redirect != '') { if(redirect != '') {
...@@ -163,7 +163,7 @@ function submitFormConfirm(formname,target,confirmation) { ...@@ -163,7 +163,7 @@ function submitFormConfirm(formname,target,confirmation) {
error: function(jqXHR, textStatus, errorThrown) { error: function(jqXHR, textStatus, errorThrown) {
var parts = jqXHR.responseText.split(':'); var parts = jqXHR.responseText.split(':');
reportError('Ajax Request was not successful. 111'); reportError('Ajax Request was not successful. 111');
}, }
}); });
} }
} }
...@@ -237,7 +237,7 @@ function loadContent(pagename) { ...@@ -237,7 +237,7 @@ function loadContent(pagename) {
}, },
error: function() { error: function() {
reportError('Ajax Request was not successful. 113'); reportError('Ajax Request was not successful. 113');
}, }
}); });
} }
...@@ -258,7 +258,7 @@ function loadInitContent() { ...@@ -258,7 +258,7 @@ function loadInitContent() {
}, },
error: function() { error: function() {
reportError('Ajax Request was not successful. 114'); reportError('Ajax Request was not successful. 114');
}, }
}); });
loadMenus(); loadMenus();
...@@ -285,7 +285,7 @@ function loadMenus() { ...@@ -285,7 +285,7 @@ function loadMenus() {
}, },
error: function() { error: function() {
reportError('Ajax Request was not successful. 115'); reportError('Ajax Request was not successful. 115');
}, }
}); });
var topNavObject = jQuery.ajax({ type: "GET", var topNavObject = jQuery.ajax({ type: "GET",
...@@ -297,7 +297,7 @@ function loadMenus() { ...@@ -297,7 +297,7 @@ function loadMenus() {
}, },
error: function(o) { error: function(o) {
reportError('Ajax Request was not successful. 116'); reportError('Ajax Request was not successful. 116');
}, }
}); });
} }
...@@ -353,7 +353,7 @@ function loadContentInto(elementid,pagename) { ...@@ -353,7 +353,7 @@ function loadContentInto(elementid,pagename) {
}, },
error: function() { error: function() {
reportError('Ajax Request was not successful. 118'); reportError('Ajax Request was not successful. 118');
}, }
}); });
} }
...@@ -376,7 +376,7 @@ function loadOptionInto(elementid,pagename) { ...@@ -376,7 +376,7 @@ function loadOptionInto(elementid,pagename) {
}, },
error: function() { error: function() {
reportError('Ajax Request was not successful. 119'); reportError('Ajax Request was not successful. 119');
}, }
}); });
} }
...@@ -389,7 +389,7 @@ function keepalive() { ...@@ -389,7 +389,7 @@ function keepalive() {
}, },
error: function() { error: function() {
reportError('Session expired. Please login again.'); reportError('Session expired. Please login again.');
}, }
}); });
//setTimeout( keepalive, 1000000 ); //setTimeout( keepalive, 1000000 );
} }
......
...@@ -290,9 +290,9 @@ function _getServerState($serverId, $serverName) { ...@@ -290,9 +290,9 @@ function _getServerState($serverId, $serverName) {
/* /*
* Finish all html's * Finish all html's
*/ */
$html_ve .= '</div></div></div>'; $html_ve .= '</div></div>';
$html_server .= '<div>##VE_INFO##</div></div></div></div>'; $html_server .= '<div>##VE_INFO##</div></div></div>';
$html_verbose .= '</div></div></div>'; $html_verbose .= '</div></div>';
/* /*
* create and return the result * create and return the result
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment