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 | |
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')
-rw-r--r-- | web/app/view/dialog/Base.js | 1 | ||||
-rw-r--r-- | web/app/view/dialog/BaseEditController.js | 1 | ||||
-rw-r--r-- | web/app/view/dialog/Login.js | 1 | ||||
-rw-r--r-- | web/app/view/dialog/Register.js | 2 |
4 files changed, 1 insertions, 4 deletions
diff --git a/web/app/view/dialog/Base.js b/web/app/view/dialog/Base.js index 5aad254d..20945c0a 100644 --- a/web/app/view/dialog/Base.js +++ b/web/app/view/dialog/Base.js @@ -20,7 +20,6 @@ Ext.define('Traccar.view.dialog.Base', { bodyPadding: Traccar.Style.normalPadding, resizable: false, - modal: true, autoScroll: true, constrain: true, diff --git a/web/app/view/dialog/BaseEditController.js b/web/app/view/dialog/BaseEditController.js index 71832148..f58b6cb7 100644 --- a/web/app/view/dialog/BaseEditController.js +++ b/web/app/view/dialog/BaseEditController.js @@ -52,7 +52,6 @@ Ext.define('Traccar.view.dialog.BaseEditController', { record = dialog.getRecord(); Ext.create('Traccar.view.BaseWindow', { title: Strings.sharedAttributes, - modal: false, items: { xtype: 'attributesView', record: record diff --git a/web/app/view/dialog/Login.js b/web/app/view/dialog/Login.js index 5a0695ee..e015519b 100644 --- a/web/app/view/dialog/Login.js +++ b/web/app/view/dialog/Login.js @@ -27,7 +27,6 @@ Ext.define('Traccar.view.dialog.Login', { header: false, closable: false, - modal: false, items: { xtype: 'form', 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; |