[pve-devel] r6280 - pve-manager/pve2/www/manager/storage

svn-commits at proxmox.com svn-commits at proxmox.com
Fri Jul 8 16:07:34 CEST 2011


Author: dietmar
Date: 2011-07-08 16:07:34 +0200 (Fri, 08 Jul 2011)
New Revision: 6280

Modified:
   pve-manager/pve2/www/manager/storage/Browser.js
   pve-manager/pve2/www/manager/storage/ContentView.js
   pve-manager/pve2/www/manager/storage/StatusView.js
   pve-manager/pve2/www/manager/storage/Summary.js
Log:
make lint happy


Modified: pve-manager/pve2/www/manager/storage/Browser.js
===================================================================
--- pve-manager/pve2/www/manager/storage/Browser.js	2011-07-08 14:05:15 UTC (rev 6279)
+++ pve-manager/pve2/www/manager/storage/Browser.js	2011-07-08 14:07:34 UTC (rev 6280)
@@ -6,12 +6,14 @@
         var me = this;
 
 	var nodename = me.pveSelNode.data.node;
-	if (!nodename) 
+	if (!nodename) {
 	    throw "no node name specified";
+	}
 
 	var storeid = me.pveSelNode.data.storage;
-	if (!storeid) 
+	if (!storeid) {
 	    throw "no storage ID specified";
+	}
 
 	Ext.apply(me, {
 	    title: "Storage '" + storeid + "'" + "' on node '" + nodename + "'",

Modified: pve-manager/pve2/www/manager/storage/ContentView.js
===================================================================
--- pve-manager/pve2/www/manager/storage/ContentView.js	2011-07-08 14:05:15 UTC (rev 6279)
+++ pve-manager/pve2/www/manager/storage/ContentView.js	2011-07-08 14:07:34 UTC (rev 6280)
@@ -7,12 +7,14 @@
 	var me = this;
 
 	var nodename = me.pveSelNode.data.node;
-	if (!nodename) 
+	if (!nodename) {
 	    throw "no node name specified";
+	}
 
 	var storage = me.pveSelNode.data.storage;
-	if (!storage) 
+	if (!storage) { 
 	    throw "no storage ID specified";
+	}
 
 	var store = new Ext.data.Store({
 	    model: 'pve-storage-content',

Modified: pve-manager/pve2/www/manager/storage/StatusView.js
===================================================================
--- pve-manager/pve2/www/manager/storage/StatusView.js	2011-07-08 14:05:15 UTC (rev 6279)
+++ pve-manager/pve2/www/manager/storage/StatusView.js	2011-07-08 14:07:34 UTC (rev 6280)
@@ -6,12 +6,14 @@
 	var me = this;
 
 	var nodename = me.pveSelNode.data.node;
-	if (!nodename) 
+	if (!nodename) {
 	    throw "no node name specified";
+	}
 
 	var storage = me.pveSelNode.data.storage;
-	if (!storage) 
+	if (!storage) {
 	    throw "no storage ID specified";
+	}
 
 	var rows = {
 	    disable: {

Modified: pve-manager/pve2/www/manager/storage/Summary.js
===================================================================
--- pve-manager/pve2/www/manager/storage/Summary.js	2011-07-08 14:05:15 UTC (rev 6279)
+++ pve-manager/pve2/www/manager/storage/Summary.js	2011-07-08 14:07:34 UTC (rev 6280)
@@ -6,12 +6,14 @@
         var me = this;
 
 	var nodename = me.pveSelNode.data.node;
-	if (!nodename) 
+	if (!nodename) {
 	    throw "no node name specified";
-	
+	}
+
 	var storage = me.pveSelNode.data.storage;
-	if (!storage) 
+	if (!storage) {
 	    throw "no storage ID specified";
+	}
 
 	var statusview = Ext.create('PVE.storage.StatusView', {
 	    title: 'Status',
@@ -44,8 +46,7 @@
 		    pveSelNode: me.pveSelNode,
 		    datasource: 'total,used',
 		    rrdurl: rrdurl
-		},
-
+		}
 	    ]
 	});
 




More information about the pve-devel mailing list