diff options
author | ninioe <ninioe@gmail.com> | 2016-07-24 12:14:40 +0300 |
---|---|---|
committer | ninioe <ninioe@gmail.com> | 2016-07-24 12:14:40 +0300 |
commit | 1e39c3dbf2078dbe9a99bdf25b944fbe05b8a40d (patch) | |
tree | bc1e2171b25332d58e8d2f2cca92e2eeff004ef5 /web/app/view | |
parent | 3e1e90ef327102f5942884b8ba517971a47b2673 (diff) | |
download | trackermap-server-1e39c3dbf2078dbe9a99bdf25b944fbe05b8a40d.tar.gz trackermap-server-1e39c3dbf2078dbe9a99bdf25b944fbe05b8a40d.tar.bz2 trackermap-server-1e39c3dbf2078dbe9a99bdf25b944fbe05b8a40d.zip |
turn the toggle button into mute button
default is muted
Diffstat (limited to 'web/app/view')
-rw-r--r-- | web/app/view/Devices.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/web/app/view/Devices.js b/web/app/view/Devices.js index 212aa7f96..63569bd95 100644 --- a/web/app/view/Devices.js +++ b/web/app/view/Devices.js @@ -58,18 +58,18 @@ Ext.define('Traccar.view.Devices', { }, { xtype: 'tbfill' },{ - id: 'showNotificationsButton', - glyph: 'xf0a2@FontAwesome', - tooltip: Strings.showNotifications, + id: 'nuteButton', + glyph: 'xf1f7@FontAwesome', + tooltip: Strings.nuteButton, tooltipType: 'title', pressed : true, enableToggle: true, listeners: { toggle: function (button, pressed) { if (pressed) { - button.setGlyph('xf0a2@FontAwesome'); - } else { button.setGlyph('xf1f7@FontAwesome'); + } else { + button.setGlyph('xf0a2@FontAwesome'); } }, scope: this |