aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog/Login.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/dialog/Login.js')
-rw-r--r--web/app/view/dialog/Login.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/web/app/view/dialog/Login.js b/web/app/view/dialog/Login.js
index 3a2c247..461ec35 100644
--- a/web/app/view/dialog/Login.js
+++ b/web/app/view/dialog/Login.js
@@ -28,6 +28,11 @@ Ext.define('Traccar.view.dialog.Login', {
header: false,
closable: false,
+ listeners: {
+ afterrender: 'handleAdded',
+ beforedestroy: 'handleRemoved'
+ },
+
items: {
xtype: 'form',
reference: 'form',