diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-08 15:45:06 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-08 15:45:06 +1200 |
commit | bb65b3805a3093a8e08ccec7d0fb0436cddde442 (patch) | |
tree | 2a6f084bd30cba2444635edbce256d18b3351121 /web/app/view/dialog/Register.js | |
parent | f1aa169d98cb4e2944dfaed13981026602f800c5 (diff) | |
download | trackermap-web-bb65b3805a3093a8e08ccec7d0fb0436cddde442.tar.gz trackermap-web-bb65b3805a3093a8e08ccec7d0fb0436cddde442.tar.bz2 trackermap-web-bb65b3805a3093a8e08ccec7d0fb0436cddde442.zip |
Get rid on all modal windowsv3.12
Diffstat (limited to 'web/app/view/dialog/Register.js')
-rw-r--r-- | web/app/view/dialog/Register.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/dialog/Register.js b/web/app/view/dialog/Register.js index 03b3009b..f9608cef 100644 --- a/web/app/view/dialog/Register.js +++ b/web/app/view/dialog/Register.js @@ -41,7 +41,7 @@ Ext.define('Traccar.view.dialog.Register', { name: 'email', fieldLabel: Strings.userEmail, validator: function (val) { - if (/(.+)@(.+){2,}\.(.+){2,}/.test(val)) { + if (/(.+)@(.+)\.(.{2,})/.test(val)) { return true; } else { return Ext.form.field.VTypes.emailText; |