pari: branch 2.0 r3713 - /branches/2.0/config/users.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Tue Aug 26 15:25:57 CDT 2008


Author: pari
Date: Tue Aug 26 15:25:56 2008
New Revision: 3713

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


 Bug Fix:  Edit Multiple Users --> 'Use Extension as PIN' Radio option not working



Modified:
    branches/2.0/config/users.html

Modified: branches/2.0/config/users.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/users.html?view=diff&rev=3713&r1=3712&r2=3713
==============================================================================
--- branches/2.0/config/users.html (original)
+++ branches/2.0/config/users.html Tue Aug 26 15:25:56 2008
@@ -573,8 +573,14 @@
 				tmp_obj['hasvoicemail'] = ASTGUI.getFieldValue('edit_multiple_hasvoicemail') ;
 			}
 			if( _$('edit_check_multiple_vmsecret').checked ){
-				x.new_action('update', u, 'vmsecret',  ASTGUI.getFieldValue('edit_multiple_vmsecret') );
-				tmp_obj['vmsecret'] = ASTGUI.getFieldValue('edit_multiple_vmsecret') ;
+				if( _$('edit_multiple_vmCHoice1').checked ){
+					x.new_action('update', u, 'vmsecret',  ASTGUI.getFieldValue('edit_multiple_vmsecret') );
+					tmp_obj['vmsecret'] = ASTGUI.getFieldValue('edit_multiple_vmsecret') ;
+				}
+				if( _$('edit_multiple_vmCHoice2').checked ){
+					x.new_action('update', u, 'vmsecret',  u );
+					tmp_obj['vmsecret'] = u ;
+				}
 			}
 			if( _$('edit_check_multiple_hassip').checked ){
 				x.new_action('update', u, 'hassip',  ASTGUI.getFieldValue('edit_multiple_hassip') );




More information about the asterisk-gui-commits mailing list