pari: branch 2.0 r4326 - in /branches/2.0/config/js: index.js pbx.js
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Tue Dec 9 18:47:58 CST 2008
Author: pari
Date: Tue Dec 9 18:47:57 2008
New Revision: 4326
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4326
Log:
Set Title for the main page
Do not load home.html when logged-in
Modified:
branches/2.0/config/js/index.js
branches/2.0/config/js/pbx.js
Modified: branches/2.0/config/js/index.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/index.js?view=diff&rev=4326&r1=4325&r2=4326
==============================================================================
--- branches/2.0/config/js/index.js (original)
+++ branches/2.0/config/js/index.js Tue Dec 9 18:47:57 2008
@@ -297,7 +297,7 @@
} , 1000 );
return ; // about to reload
}
- DOM_mainscreen.src = 'home.html';
+ DOM_mainscreen.src = 'blank.html';
setTimeout ( miscFunctions.resizeMainIframe, 1000 );
onLogInFunctions.makePings.start();
@@ -645,7 +645,9 @@
doLogout: function(){
var f = makeSyncRequest({ action :'logoff'});
- top.window.location.reload();
+ DOM_mainscreen.src = 'blank.html';
+ parent.ASTGUI.dialog.waitWhile('Logging out ...');
+ setTimeout( window.location.reload , 20);
}
},
Modified: branches/2.0/config/js/pbx.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/pbx.js?view=diff&rev=4326&r1=4325&r2=4326
==============================================================================
--- branches/2.0/config/js/pbx.js (original)
+++ branches/2.0/config/js/pbx.js Tue Dec 9 18:47:57 2008
@@ -2245,6 +2245,7 @@
var localajaxinit = function(){
+ top.document.title = 'Asterisk Configuration' ;
$.getScript( 'js/guiversion.js', function(){
try{
sessionData.gui_version = gui_version ;
More information about the asterisk-gui-commits
mailing list