pari: branch 2.0 r3767 - /branches/2.0/config/js/index.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Fri Sep 5 12:40:42 CDT 2008


Author: pari
Date: Fri Sep  5 12:40:41 2008
New Revision: 3767

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=3767
Log:

 make Accordion respond to the user first, and then load whatever page



Modified:
    branches/2.0/config/js/index.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=3767&r1=3766&r2=3767
==============================================================================
--- branches/2.0/config/js/index.js (original)
+++ branches/2.0/config/js/index.js Fri Sep  5 12:40:41 2008
@@ -911,11 +911,11 @@
 				$('div.ui-accordion-desc').hide();
 				var f = s.parentNode ;
 				var page = $(f).attr("page");
-				DOM_mainscreen.src = page ;
 				$(f).find("div").show();
 				if( page == 'digital.html' && sessionData.PLATFORM.isAA50 ){
 					$(f).find("div")[1].innerHTML = 'Analog ports configuration';
 				}
+				setTimeout( function(){DOM_mainscreen.src = page ;} , 50 );
 			};
 			ASTGUI.events.add(DOM_accordion_div, 'click', loadPanel);
 		// End of Accordion




More information about the asterisk-gui-commits mailing list