diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-05 00:09:04 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-05 00:09:04 +1300 |
commit | 166237d0c15ea228105afa65958d8a2889aab05b (patch) | |
tree | 82ae954aa15942bef38ad9bf6ab9829060ede045 /web/app/view/DeviceDistanceDialog.js | |
parent | 0050bbc93c118476ce799d3da9bb48a6ce4abfd7 (diff) | |
download | trackermap-web-166237d0c15ea228105afa65958d8a2889aab05b.tar.gz trackermap-web-166237d0c15ea228105afa65958d8a2889aab05b.tar.bz2 trackermap-web-166237d0c15ea228105afa65958d8a2889aab05b.zip |
Use icons for save and cancel buttons
Diffstat (limited to 'web/app/view/DeviceDistanceDialog.js')
-rw-r--r-- | web/app/view/DeviceDistanceDialog.js | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/web/app/view/DeviceDistanceDialog.js b/web/app/view/DeviceDistanceDialog.js index 677a6c12..ea85bec1 100644 --- a/web/app/view/DeviceDistanceDialog.js +++ b/web/app/view/DeviceDistanceDialog.js @@ -44,12 +44,16 @@ Ext.define('Traccar.view.DeviceDistanceDialog', { }], buttons: [{ - text: Strings.sharedSet, - disabled: true, - reference: 'setButton', + glyph: 'xf00c@FontAwesome', + tooltip: Strings.sharedSet, + tooltipType: 'title', + minWidth: 0, handler: 'onSetClick' }, { - text: Strings.sharedCancel, + glyph: 'xf00d@FontAwesome', + tooltip: Strings.sharedCancel, + tooltipType: 'title', + minWidth: 0, handler: 'closeView' }] }); |