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

svn-commits at proxmox.com svn-commits at proxmox.com
Fri Jul 8 16:22:45 CEST 2011


Author: dietmar
Date: 2011-07-08 16:22:45 +0200 (Fri, 08 Jul 2011)
New Revision: 6288

Modified:
   pve-manager/pve2/www/manager/dc/ACLView.js
   pve-manager/pve2/www/manager/dc/RoleView.js
Log:
mak elint happy


Modified: pve-manager/pve2/www/manager/dc/ACLView.js
===================================================================
--- pve-manager/pve2/www/manager/dc/ACLView.js	2011-07-08 14:20:21 UTC (rev 6287)
+++ pve-manager/pve2/www/manager/dc/ACLView.js	2011-07-08 14:22:45 UTC (rev 6288)
@@ -19,8 +19,9 @@
 	});
 
 	var render_ugid = function(ugid, metaData, record) {
-	    if (record.data.type == 'group')
+	    if (record.data.type == 'group') {
 		return '@' + ugid;
+	    }
 
 	    return ugid;
 	};
@@ -71,8 +72,13 @@
 
     Ext.define('pve-acl', {
 	extend: 'Ext.data.Model',
-	fields: [ 'path', 'type', 'ugid', 'roleid', 
-		  { name: 'propagate', type: 'boolean'} ],
+	fields: [ 
+	    'path', 'type', 'ugid', 'roleid', 
+	    { 
+		name: 'propagate', 
+		type: 'boolean'
+	    } 
+	]
     });
 
 });
\ No newline at end of file

Modified: pve-manager/pve2/www/manager/dc/RoleView.js
===================================================================
--- pve-manager/pve2/www/manager/dc/RoleView.js	2011-07-08 14:20:21 UTC (rev 6287)
+++ pve-manager/pve2/www/manager/dc/RoleView.js	2011-07-08 14:22:45 UTC (rev 6288)
@@ -20,11 +20,12 @@
 
 	var render_privs = function(value, metaData) {
 
-	    if (!value)
+	    if (!value) {
 		return '-';
+	    }
 
 	    // allow word wrap
-	    metaData.style = 'white-space:normal;'
+	    metaData.style = 'white-space:normal;';
 
 	    return value.replace(/\,/g, ' ');
 	};




More information about the pve-devel mailing list