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

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Fri Oct 31 14:38:40 CDT 2008


Author: pari
Date: Fri Oct 31 14:38:40 2008
New Revision: 4045

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

Avoid having to answer confirmation for each user voicemailbox while deleting multiple users.



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=4045&r1=4044&r2=4045
==============================================================================
--- branches/2.0/config/users.html (original)
+++ branches/2.0/config/users.html Fri Oct 31 14:38:40 2008
@@ -344,7 +344,7 @@
 			ASTGUI.feedback( { msg: ' Please select one or more users to delete !', showfor: 4 });
 			return;
 		}
-		if( !confirm('Are you sure you want to delete the selected users - ' + sel_users.join(',') + ' ?') ) { return; }
+		if( !confirm('Are you sure you want to delete the selected users - ' + sel_users.join(',') + ' ? \n\n Note: This would delete any voicemails stored in the users mailboxes.') ) { return; }
 
 		var after_deletingFirstUser = function(){
 			sel_users.removeFirst();
@@ -358,9 +358,9 @@
 		};
 
 		var delete_firstUser = function(){
-			var yn = confirm("Delete voicemail box for user " + sel_users[0] + " ?" );
+			//var yn = confirm("Delete voicemail box for user " + sel_users[0] + " ?" );
 			parent.ASTGUI.dialog.waitWhile(' deleting user ' + sel_users[0] );
-			parent.astgui_manageusers.deleteuser(sel_users[0] , yn , after_deletingFirstUser );
+			parent.astgui_manageusers.deleteuser(sel_users[0] , true , after_deletingFirstUser);
 		};
 
 		parent.ASTGUI.dialog.waitWhile(' Deleting selected users .... ');




More information about the asterisk-gui-commits mailing list