pari: trunk r302 - /trunk/config/users.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Tue Jan 30 09:29:33 MST 2007


Author: pari
Date: Tue Jan 30 10:29:32 2007
New Revision: 302

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=302
Log:
When a panel is being loaded using back button, open corresponding Accordion panel, could get it working fine - but causing the current page to load twice - so commiting the code so that others can give it a shot or may be i'll work on it somepoint in future 

Modified:
    trunk/config/users.html

Modified: trunk/config/users.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/users.html?view=diff&rev=302&r1=301&r2=302
==============================================================================
--- trunk/config/users.html (original)
+++ trunk/config/users.html Tue Jan 30 10:29:32 2007
@@ -267,7 +267,7 @@
 		// Automatically open the related panel - like when this page is called using a back button
 		// This is working .. but is causing the current page to load twice.
 		for( var v=0; v < parent.panels.length ; v++){	
-			if ( parent.panels[v].name == "incoming"){
+			if ( parent.panels[v].name == "users"){
 				parent.accordion.showTabByIndex(v,true);			
 				break;
 			}



More information about the asterisk-gui-commits mailing list