pari: branch 2.0 r3910 - /branches/2.0/config/followme.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Fri Sep 26 16:50:35 CDT 2008


Author: pari
Date: Fri Sep 26 16:50:34 2008
New Revision: 3910

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

 foo!


Modified:
    branches/2.0/config/followme.html

Modified: branches/2.0/config/followme.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/followme.html?view=diff&rev=3910&r1=3909&r2=3910
==============================================================================
--- branches/2.0/config/followme.html (original)
+++ branches/2.0/config/followme.html Fri Sep 26 16:50:34 2008
@@ -127,9 +127,9 @@
 
 	if( ext_globals.hasOwnProperty('FOLLOWMEOPTIONS') ){
 		FOLLOWME_OPTIONS = ext_globals.FOLLOWMEOPTIONS ;
-		if( FOLLOWME_OPTIONS.contains('s') ){ _$('chk_fmoptions_s').checked = true; }
-		if( FOLLOWME_OPTIONS.contains('a') ){ _$('chk_fmoptions_a').checked = true; }
-		if( FOLLOWME_OPTIONS.contains('n') ){ _$('chk_fmoptions_n').checked = true; }
+		_$('chk_fmoptions_s').checked = ( FOLLOWME_OPTIONS.contains('s') ) ? true : false;
+		_$('chk_fmoptions_a').checked = ( FOLLOWME_OPTIONS.contains('a') ) ? true : false;
+		_$('chk_fmoptions_n').checked = ( FOLLOWME_OPTIONS.contains('n') ) ? true : false;
 	}
 
 	ul.each( function(user){ // list each user in table




More information about the asterisk-gui-commits mailing list