aboutsummaryrefslogtreecommitdiff
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
parent5656abb1fd722e3d1014abcd51f1b09e39f50589 (diff)
downloadtrackermap-server-ba97a6e263746cbcd7a608d5c5af529fe5443e1b.tar.gz
trackermap-server-ba97a6e263746cbcd7a608d5c5af529fe5443e1b.tar.bz2
trackermap-server-ba97a6e263746cbcd7a608d5c5af529fe5443e1b.zip
Fix quick tip extjs exceptions
-rw-r--r--web/app.css2
-rw-r--r--web/app/controller/Root.js2
-rw-r--r--web/app/view/UserDevicesController.js1
-rw-r--r--web/debug.html2
-rw-r--r--web/release.html2
5 files changed, 4 insertions, 5 deletions
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 @@
<script src="app.js"></script>
</head>
<body>
-<div class="attribution">Powered by <a href="https://www.traccar.org/">Traccar GPS Tracking System</a></div>
+<div id="attribution">Powered by <a href="https://www.traccar.org/">Traccar GPS Tracking System</a></div>
</body>
</html>
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');
</script>
</head>
<body>
-<div class="attribution">Powered by <a href="https://www.traccar.org/">Traccar GPS Tracking System</a></div>
+<div id="attribution">Powered by <a href="https://www.traccar.org/">Traccar GPS Tracking System</a></div>
</body>
</html>