mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-08-07 11:50:51 +00:00
toolkit: remove PVE specific VType
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
8f449655ad
commit
5106364829
@ -77,11 +77,6 @@ Ext.apply(Ext.form.field.VTypes, {
|
|||||||
gettext("Maximum characters") + ": 21" + "<br />" +
|
gettext("Maximum characters") + ": 21" + "<br />" +
|
||||||
gettext("Must start with") + ": 'a-z'",
|
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) {
|
StorageId: function(v) {
|
||||||
return (/^[a-z][a-z0-9\-\_\.]*[a-z0-9]$/i).test(v);
|
return (/^[a-z][a-z0-9\-\_\.]*[a-z0-9]$/i).test(v);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user