aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/dialog')
-rw-r--r--web/app/view/dialog/Base.js1
-rw-r--r--web/app/view/dialog/BaseEditController.js1
-rw-r--r--web/app/view/dialog/Login.js1
-rw-r--r--web/app/view/dialog/Register.js2
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;