From 79f557f7b4bb209876977bba99f8c0a18f672b29 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 9 Jul 2017 10:31:31 +1200 Subject: Adjustments to the toast style --- web/app/view/dialog/CommandController.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'web/app/view/dialog/CommandController.js') diff --git a/web/app/view/dialog/CommandController.js b/web/app/view/dialog/CommandController.js index be6245b..8c566da 100644 --- a/web/app/view/dialog/CommandController.js +++ b/web/app/view/dialog/CommandController.js @@ -121,11 +121,8 @@ Ext.define('Traccar.view.dialog.CommandController', { onSendResult: function (options, success, response) { if (success) { - Ext.toast({ - html: Strings.commandSent, - align: 'br' - }); this.closeView(); + Traccar.app.showToast(Strings.commandSent); } else { Traccar.app.showError(response); } -- cgit v1.2.3