mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
[WebUI] Fix custom VType
This commit is contained in:
parent
3d4acf7d37
commit
9eb6b7c52a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue