diff options
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' }] }); |