diff options
author | Alexander Menk <menk@mestrona.net> | 2016-12-20 08:41:59 +0100 |
---|---|---|
committer | Alexander Menk <menk@mestrona.net> | 2016-12-20 08:41:59 +0100 |
commit | c14eda96bc3d7ebbd36f325d648087fdf4ae6572 (patch) | |
tree | 884db6f5f3f3206410ef81e60f6938a94db811c8 /web/app/view/CommandDialog.js | |
parent | eea8e3cde73b7fe2640c6fe187ffb4d899381a60 (diff) | |
download | trackermap-web-c14eda96bc3d7ebbd36f325d648087fdf4ae6572.tar.gz trackermap-web-c14eda96bc3d7ebbd36f325d648087fdf4ae6572.tar.bz2 trackermap-web-c14eda96bc3d7ebbd36f325d648087fdf4ae6572.zip |
#2702Implement setHearts for watch Protocol
Using this function you can display a certain amount of hearts on the watch.
Nothing more, nothing less.
Diffstat (limited to 'web/app/view/CommandDialog.js')
-rw-r--r-- | web/app/view/CommandDialog.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/web/app/view/CommandDialog.js b/web/app/view/CommandDialog.js index cb6fed22..1450dc28 100644 --- a/web/app/view/CommandDialog.js +++ b/web/app/view/CommandDialog.js @@ -104,6 +104,19 @@ Ext.define('Traccar.view.CommandDialog', { maxValue: +14 }] }, { + xtype: 'fieldcontainer', + reference: 'paramSetHearts', + name: 'attributes', + hidden: true, + + items: [{ + xtype: 'numberfield', + fieldLabel: Strings.commandHearts, + name: 'hearts', + minValue: 0, + maxValue: 99 + }] + }, { xtype: 'textfield', reference: 'paramCustom', fieldLabel: Strings.commandCustom, |