pari: branch appliance r239 -
/branches/appliance/config/scripts/astman.js
asterisk-gui-commits at lists.digium.com
asterisk-gui-commits at lists.digium.com
Thu Jan 11 13:29:24 MST 2007
Author: pari
Date: Thu Jan 11 14:29:23 2007
New Revision: 239
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=239
Log:
Donot show the redirect alert when being asked to relogin after an expired session
Modified:
branches/appliance/config/scripts/astman.js
Modified: branches/appliance/config/scripts/astman.js
URL: http://svn.digium.com/view/asterisk-gui/branches/appliance/config/scripts/astman.js?view=diff&rev=239&r1=238&r2=239
==============================================================================
--- branches/appliance/config/scripts/astman.js (original)
+++ branches/appliance/config/scripts/astman.js Thu Jan 11 14:29:23 2007
@@ -1538,6 +1538,8 @@
};
this.eventResponse = function(t) {
if( t.responseText.match("Message: Authentication Required") ){
+ parent.window.onbeforeunload = function(){ }
+ parent.window.onunload = function(){ }
parent.window.location.href = parent.window.location.href ;
}
me.parseResponse(t, me.doEvents);
More information about the asterisk-gui-commits
mailing list