[pve-devel] r6335 - in pve-manager/pve2: . www/manager www/manager/storage

svn-commits at proxmox.com svn-commits at proxmox.com
Wed Jul 20 13:20:34 CEST 2011


Author: dietmar
Date: 2011-07-20 13:20:34 +0200 (Wed, 20 Jul 2011)
New Revision: 6335

Modified:
   pve-manager/pve2/ChangeLog
   pve-manager/pve2/www/manager/Utils.js
   pve-manager/pve2/www/manager/storage/DirEdit.js
Log:
s/ConfigId/StorageId/


Modified: pve-manager/pve2/ChangeLog
===================================================================
--- pve-manager/pve2/ChangeLog	2011-07-20 11:14:06 UTC (rev 6334)
+++ pve-manager/pve2/ChangeLog	2011-07-20 11:20:34 UTC (rev 6335)
@@ -1,6 +1,6 @@
 2011-07-20  Proxmox Support Team  <support at proxmox.com>
 
-	* www/manager/Utils.js: impl. 'ConfigID' vtype
+	* www/manager/Utils.js: impl. 'StorageID' vtype
 
 	* www/manager/storage/DirEdit.js: impl.
 

Modified: pve-manager/pve2/www/manager/Utils.js
===================================================================
--- pve-manager/pve2/www/manager/Utils.js	2011-07-20 11:14:06 UTC (rev 6334)
+++ pve-manager/pve2/www/manager/Utils.js	2011-07-20 11:20:34 UTC (rev 6335)
@@ -54,10 +54,10 @@
     },
     QemuStartDateText: 'Valid format for date are: "now" or "2006-06-17T16:01:21" or "2006-06-17"',
 
-    ConfigId:  function(v) {
+    StorageId:  function(v) {
         return (/^[a-z][a-z0-9\-\_\.]*[a-z0-9]$/i).test(v);
     },
-    ConfigIdText: "ID contains illegal characters (allowed characters: 'a-z', '0-9', '-', '_' and '.')"
+    StorageIdText: "ID contains illegal characters (allowed characters: 'a-z', '0-9', '-', '_' and '.')"
 });
 
 // we dont want that a displayfield set the form dirty flag! 

Modified: pve-manager/pve2/www/manager/storage/DirEdit.js
===================================================================
--- pve-manager/pve2/www/manager/storage/DirEdit.js	2011-07-20 11:14:06 UTC (rev 6334)
+++ pve-manager/pve2/www/manager/storage/DirEdit.js	2011-07-20 11:20:34 UTC (rev 6335)
@@ -25,7 +25,7 @@
 		height: 22, // hack: set same height as text fields
 		value: me.storageId || '',
 		fieldLabel: 'Storage ID',
-		vtype: 'ConfigId',
+		vtype: 'StorageId',
 		allowBlank: false
 	    },
 	    {




More information about the pve-devel mailing list