aboutsummaryrefslogtreecommitdiff
path: root/web/app
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-17 11:34:28 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-17 11:34:28 +1300
commitba97a6e263746cbcd7a608d5c5af529fe5443e1b (patch)
tree85746a392b446322631931f05d8be206feeb2296 /web/app
parent5656abb1fd722e3d1014abcd51f1b09e39f50589 (diff)
downloadtrackermap-server-ba97a6e263746cbcd7a608d5c5af529fe5443e1b.tar.gz
trackermap-server-ba97a6e263746cbcd7a608d5c5af529fe5443e1b.tar.bz2
trackermap-server-ba97a6e263746cbcd7a608d5c5af529fe5443e1b.zip
Fix quick tip extjs exceptions
Diffstat (limited to 'web/app')
-rw-r--r--web/app/controller/Root.js2
-rw-r--r--web/app/view/UserDevicesController.js1
2 files changed, 1 insertions, 2 deletions
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) {