[pve-devel] r6285 - pve-manager/pve2/www/manager/dc

svn-commits at proxmox.com svn-commits at proxmox.com
Fri Jul 8 16:17:15 CEST 2011


Author: dietmar
Date: 2011-07-08 16:17:15 +0200 (Fri, 08 Jul 2011)
New Revision: 6285

Modified:
   pve-manager/pve2/www/manager/dc/GroupView.js
Log:
make lint happy


Modified: pve-manager/pve2/www/manager/dc/GroupView.js
===================================================================
--- pve-manager/pve2/www/manager/dc/GroupView.js	2011-07-08 14:16:22 UTC (rev 6284)
+++ pve-manager/pve2/www/manager/dc/GroupView.js	2011-07-08 14:17:15 UTC (rev 6285)
@@ -37,16 +37,16 @@
 		handler: function() {
 		    var sm = me.getSelectionModel();
 		    var rec = sm.getSelection()[0];
-		    if (!rec)
+		    if (!rec) {
 			return;
-
+		    }
 		    var groupid = rec.data.groupid;
 
 		    var msg = 'Are you sure you want to permanently delete the group: ' + groupid;
 		    Ext.Msg.confirm('Deletion Confirmation', msg, function(btn) {
-			if (btn !== 'yes')
+			if (btn !== 'yes') {
 			    return;
-
+			}
 			me.setLoading(true, true);
 			PVE.Utils.API2Request({
 			    url: '/access/groups/' + groupid,



More information about the pve-devel mailing list