From ba97a6e263746cbcd7a608d5c5af529fe5443e1b Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 17 Oct 2015 11:34:28 +1300 Subject: Fix quick tip extjs exceptions --- web/app.css | 2 +- web/app/controller/Root.js | 2 +- web/app/view/UserDevicesController.js | 1 - web/debug.html | 2 +- web/release.html | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) (limited to 'web') diff --git a/web/app.css b/web/app.css index 1951db07b..897fd0cbc 100644 --- a/web/app.css +++ b/web/app.css @@ -11,7 +11,7 @@ } } -.attribution { +#attribution { position: fixed; bottom: 10px; right: 15px; diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js index d6dd64830..b4ab06b82 100644 --- a/web/app/controller/Root.js +++ b/web/app/controller/Root.js @@ -79,7 +79,7 @@ Ext.define('Traccar.controller.Root', { loadApp: function () { Ext.getStore('Devices').load(); - Ext.getBody().empty(); + Ext.get('attribution').remove(); if (this.isPhone) { Ext.create('widget.mainMobile'); } else { diff --git a/web/app/view/UserDevicesController.js b/web/app/view/UserDevicesController.js index aefc9d83e..20fb47f85 100644 --- a/web/app/view/UserDevicesController.js +++ b/web/app/view/UserDevicesController.js @@ -19,7 +19,6 @@ Ext.define('Traccar.view.UserDevicesController', { alias: 'controller.userDevices', init: function () { - console.log(this.getView().user.getData().id); this.getView().getStore().load({ scope: this, callback: function (records, operation, success) { diff --git a/web/debug.html b/web/debug.html index ba014f6fb..f6b9246c8 100644 --- a/web/debug.html +++ b/web/debug.html @@ -17,6 +17,6 @@ -
Powered by Traccar GPS Tracking System
+
Powered by Traccar GPS Tracking System
diff --git a/web/release.html b/web/release.html index 130e3fceb..88ebbb74d 100644 --- a/web/release.html +++ b/web/release.html @@ -19,6 +19,6 @@ Ext.Loader.loadScript('app.min.js'); -
Powered by Traccar GPS Tracking System
+
Powered by Traccar GPS Tracking System
-- cgit v1.2.3