[pve-devel] [PATCH 1/2] toolkit: remove PVE specific VType

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Jan 16 14:20:47 CET 2018


Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 Toolkit.js | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/Toolkit.js b/Toolkit.js
index e4e9dca..6e95955 100644
--- a/Toolkit.js
+++ b/Toolkit.js
@@ -71,11 +71,6 @@ Ext.apply(Ext.form.field.VTypes, {
 		       gettext("Maximum characters") + ": 21" + "<br />" +
 		       gettext("Must start with") + ": 'a-z'",
 
-    QemuStartDate: function(v) {
-	return (/^(now|\d{4}-\d{1,2}-\d{1,2}(T\d{1,2}:\d{1,2}:\d{1,2})?)$/).test(v);
-    },
-    QemuStartDateText: gettext('Format') + ': "now" or "2006-06-17T16:01:21" or "2006-06-17"',
-
     StorageId:  function(v) {
         return (/^[a-z][a-z0-9\-\_\.]*[a-z0-9]$/i).test(v);
     },
-- 
2.11.0





More information about the pve-devel mailing list