pari: branch 2.0 r4257 - in /branches/2.0/config: index.html	js/index.js
    SVN commits to the Asterisk-GUI project 
    asterisk-gui-commits at lists.digium.com
       
    Mon Dec  1 18:34:23 CST 2008
    
    
  
Author: pari
Date: Mon Dec  1 18:34:23 2008
New Revision: 4257
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4257
Log:
 show 'Register g729' option in accordion if codec_g729a module is loaded
Modified:
    branches/2.0/config/index.html
    branches/2.0/config/js/index.js
Modified: branches/2.0/config/index.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/index.html?view=diff&rev=4257&r1=4256&r2=4257
==============================================================================
--- branches/2.0/config/index.html (original)
+++ branches/2.0/config/index.html Mon Dec  1 18:34:23 2008
@@ -206,7 +206,7 @@
 			<div class="ui-accordion-link">Networking</div>
 			<div class="ui-accordion-desc">Configures networking parameters.</div>
 		</div>
-		<div page='registerg729.html' class='forAA50'>
+		<div page='registerg729.html' style='display:none'>
 			<div class="ui-accordion-link">G.729 Codec</div>
 			<div class="ui-accordion-desc">Register & Manage your G.729 Codec License Keys</div>
 		</div>
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=4257&r1=4256&r2=4257
==============================================================================
--- branches/2.0/config/js/index.js (original)
+++ branches/2.0/config/js/index.js Mon Dec  1 18:34:23 2008
@@ -429,7 +429,10 @@
 		setTimeout( function(){
 			var modules_show = ASTGUI.cliCommand('module show');
 			if( modules_show.contains('res_jabber.so') && modules_show.contains('chan_gtalk.so') ){
-				parent.miscFunctions.hide_panel('gtalk.html', 1);
+				miscFunctions.hide_panel('gtalk.html', 1);
+			}
+			if( modules_show.contains('codec_g729a') ){
+				miscFunctions.hide_panel('registerg729.html', 1);
 			}
 		}, 2000);
 
    
    
More information about the asterisk-gui-commits
mailing list