From e6a115dfed5a7ffca76924e954c67205a90e46a2 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 7 Jul 2020 22:36:10 -0700 Subject: Move update to static view --- web/app/view/dialog/LoginController.js | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'web/app/view/dialog/LoginController.js') diff --git a/web/app/view/dialog/LoginController.js b/web/app/view/dialog/LoginController.js index 5767a4bc..c25d9a83 100644 --- a/web/app/view/dialog/LoginController.js +++ b/web/app/view/dialog/LoginController.js @@ -29,18 +29,6 @@ Ext.define('Traccar.view.dialog.LoginController', { this.lookupReference('languageField').setValue(Locale.language); }, - handleAdded: function () { - var element = document.createElement('div'); - element.id = 'update'; - element.innerHTML = 'Switch to modern interface'; - document.getElementsByTagName('body')[0].appendChild(element); - }, - - handleRemoved: function () { - var element = document.getElementById('update'); - document.getElementsByTagName('body')[0].removeChild(element); - }, - login: function () { var form = this.lookupReference('form'); if (form.isValid()) { -- cgit v1.2.3