aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/UserDevicesController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-08 14:24:10 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-08 14:24:10 +1300
commit30f1a770f867de05a89ee6073dc002137d5e4512 (patch)
treee43a6d66f1124a161b4398f92be75b45a31839b5 /web/app/view/UserDevicesController.js
parent2c71e521f5e2f60627d0c3df4b6649751dea1035 (diff)
downloadtrackermap-server-30f1a770f867de05a89ee6073dc002137d5e4512.tar.gz
trackermap-server-30f1a770f867de05a89ee6073dc002137d5e4512.tar.bz2
trackermap-server-30f1a770f867de05a89ee6073dc002137d5e4512.zip
Fix JavaScript jshint issues
Diffstat (limited to 'web/app/view/UserDevicesController.js')
-rw-r--r--web/app/view/UserDevicesController.js12
1 files changed, 2 insertions, 10 deletions
diff --git a/web/app/view/UserDevicesController.js b/web/app/view/UserDevicesController.js
index a50ab8c80..aeb99c21c 100644
--- a/web/app/view/UserDevicesController.js
+++ b/web/app/view/UserDevicesController.js
@@ -52,11 +52,7 @@ Ext.define('Traccar.view.UserDevicesController', {
userId: this.userId,
deviceId: record.getData().id
},
- callback: Traccar.app.getErrorHandler(this, function (options, success, response) {
- if (!success) {
- // TODO deselect again
- }
- })
+ callback: Traccar.app.getErrorHandler()
});
},
@@ -68,11 +64,7 @@ Ext.define('Traccar.view.UserDevicesController', {
userId: this.userId,
deviceId: record.getData().id
},
- callback: Traccar.app.getErrorHandler(this, function (options, success, response) {
- if (!success) {
- // TODO select again
- }
- })
+ callback: Traccar.app.getErrorHandler()
});
}
});