[WebUI] Fix custom VType
This commit is contained in:
@ -32,7 +32,7 @@
|
||||
Ext.namespace('Deluge.preferences');
|
||||
|
||||
// custom Vtype for vtype:'IPAddress'
|
||||
Ext.apply(Ext.form.field.VTypes, {
|
||||
Ext.apply(Ext.form.VTypes, {
|
||||
IPAddress: function(v) {
|
||||
return /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/.test(v);
|
||||
},
|
||||
|
Reference in New Issue
Block a user