diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-09 10:31:31 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-09 10:31:31 +1200 |
commit | 79f557f7b4bb209876977bba99f8c0a18f672b29 (patch) | |
tree | 67aab13a8b33631366a149d0718dec0531060a63 /web/app/Application.js | |
parent | 2b15689bd7353f7bb388950408ddaabaeb0c0b53 (diff) | |
download | trackermap-web-79f557f7b4bb209876977bba99f8c0a18f672b29.tar.gz trackermap-web-79f557f7b4bb209876977bba99f8c0a18f672b29.tar.bz2 trackermap-web-79f557f7b4bb209876977bba99f8c0a18f672b29.zip |
Adjustments to the toast stylev3.13
Diffstat (limited to 'web/app/Application.js')
-rw-r--r-- | web/app/Application.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/web/app/Application.js b/web/app/Application.js index 0d41fc87..c0a69457 100644 --- a/web/app/Application.js +++ b/web/app/Application.js @@ -185,5 +185,14 @@ Ext.define('Traccar.Application', { } else { Ext.Msg.alert(Strings.errorTitle, Strings.errorConnection); } + }, + + showToast: function (message, title) { + Ext.toast({ + html: message, + title: title, + width: Traccar.Style.toastWidth, + align: 'br' + }); } }); |