diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-20 21:36:16 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-20 21:36:16 +1300 |
commit | f04d420b323a324233c48d525254f1211afc0771 (patch) | |
tree | 2c4e49bf9dea236dbc069391f57ec5e0b64032e4 /web/app/view/UserDialogController.js | |
parent | 2bb63a0b1c82c42c0d13614c5a67521130165368 (diff) | |
download | trackermap-server-f04d420b323a324233c48d525254f1211afc0771.tar.gz trackermap-server-f04d420b323a324233c48d525254f1211afc0771.tar.bz2 trackermap-server-f04d420b323a324233c48d525254f1211afc0771.zip |
Update javascript API error handling
Diffstat (limited to 'web/app/view/UserDialogController.js')
-rw-r--r-- | web/app/view/UserDialogController.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/UserDialogController.js b/web/app/view/UserDialogController.js index a5d045f5b..11f8c2f46 100644 --- a/web/app/view/UserDialogController.js +++ b/web/app/view/UserDialogController.js @@ -38,8 +38,8 @@ Ext.define('Traccar.view.UserDialogController', { } store.sync({ failure: function (batch) { - store.rejectChanges(); // TODO - Traccar.ErrorManager.check(true, batch.exceptions[0].getResponse()); + store.rejectChanges(); + Traccar.app.showError(batch.exceptions[0].getError().response); } }); } |