pari: branch 2.0 r3985 - /branches/2.0/config/js/astman.js
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Tue Oct 21 10:24:36 CDT 2008
Author: pari
Date: Tue Oct 21 10:24:35 2008
New Revision: 3985
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=3985
Log:
Fixing a condition that prevented displaying errors in IE (debug mode) and then reload
Modified:
branches/2.0/config/js/astman.js
Modified: branches/2.0/config/js/astman.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/astman.js?view=diff&rev=3985&r1=3984&r2=3985
==============================================================================
--- branches/2.0/config/js/astman.js (original)
+++ branches/2.0/config/js/astman.js Tue Oct 21 10:24:35 2008
@@ -3105,11 +3105,11 @@
if( top.sessionData && top.sessionData.DEBUG_MODE ){ // show alerts only in debug mode
var alertmsg = 'ErrorCode / LineNumber : ' + errcode + '\n Error : ' + err + '\n Location: ' + url ;
alert(alertmsg);
- }else{
- if ( jQuery.browser.msie ){ // If critical error in IE , reload entire GUI
- top.window.reload();
- }
- }
+ }
+ if ( jQuery.browser.msie ){ // If critical error in IE , reload entire GUI
+ top.window.reload();
+ }
+
return true;
};
More information about the asterisk-gui-commits
mailing list