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

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Mon Oct 20 16:57:56 CDT 2008


Author: pari
Date: Mon Oct 20 16:57:56 2008
New Revision: 3983

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

 .checked is a boolean


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=3983&r1=3982&r2=3983
==============================================================================
--- branches/2.0/config/js/index.js (original)
+++ branches/2.0/config/js/index.js Mon Oct 20 16:57:56 2008
@@ -630,22 +630,22 @@
 		aaaaa();
 
 		_$('debugWindow_which_Ajax').checked = sessionData.DEBUG_WHICH.Ajax ;
-		$('#debugWindow_which_Ajax').click(function(){ sessionData.DEBUG_WHICH.Ajax =  (this.checked) ? true : false ; });
+		$('#debugWindow_which_Ajax').click(function(){ sessionData.DEBUG_WHICH.Ajax =  this.checked ; });
 
 		_$('debugWindow_which_Debug').checked = sessionData.DEBUG_WHICH.Debug ;
-		$('#debugWindow_which_Debug').click(function(){ sessionData.DEBUG_WHICH.Debug =  (this.checked) ? true : false ; });
+		$('#debugWindow_which_Debug').click(function(){ sessionData.DEBUG_WHICH.Debug = this.checked ; });
 
 		_$('debugWindow_which_Error').checked = sessionData.DEBUG_WHICH.Error ;
-		$('#debugWindow_which_Error').click(function(){ sessionData.DEBUG_WHICH.Error =  (this.checked) ? true : false ; });
+		$('#debugWindow_which_Error').click(function(){ sessionData.DEBUG_WHICH.Error = this.checked ; });
 
 		_$('debugWindow_which_Console').checked = sessionData.DEBUG_WHICH.Console ;
-		$('#debugWindow_which_Console').click(function(){ sessionData.DEBUG_WHICH.Console =  (this.checked) ? true : false ; });
+		$('#debugWindow_which_Console').click(function(){ sessionData.DEBUG_WHICH.Console = this.checked ; });
 
 		_$('debugWindow_which_Info').checked = sessionData.DEBUG_WHICH.Info ;
-		$('#debugWindow_which_Info').click(function(){ sessionData.DEBUG_WHICH.Info =  (this.checked) ? true : false ; });
+		$('#debugWindow_which_Info').click(function(){ sessionData.DEBUG_WHICH.Info = this.checked ; });
 
 		_$('debugWindow_which_Warnings').checked = sessionData.DEBUG_WHICH.Warn ;
-		$('#debugWindow_which_Warnings').click(function(){ sessionData.DEBUG_WHICH.Warn =  (this.checked) ? true : false ; });
+		$('#debugWindow_which_Warnings').click(function(){ sessionData.DEBUG_WHICH.Warn = this.checked ; });
 
 	},
 	




More information about the asterisk-gui-commits mailing list