From 7db1c1cdcf617e146e927c4aadde239959a9d3de Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Tue, 7 Mar 2017 15:32:22 +0500 Subject: Implement SMS commands --- web/app/view/CommandDialog.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'web/app/view/CommandDialog.js') diff --git a/web/app/view/CommandDialog.js b/web/app/view/CommandDialog.js index 24e0e191..ef486c41 100644 --- a/web/app/view/CommandDialog.js +++ b/web/app/view/CommandDialog.js @@ -1,5 +1,5 @@ /* - * Copyright 2015 Anton Tananaev (anton@traccar.org) + * Copyright 2015 - 2017 Anton Tananaev (anton@traccar.org) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,8 +28,19 @@ Ext.define('Traccar.view.CommandDialog', { items: { xtype: 'form', items: [{ + xtype: 'checkboxfield', + name: 'textChannel', + reference: 'textChannelCheckBox', + inputValue: true, + uncheckedValue: false, + fieldLabel: Strings.notificationSms, + listeners: { + change: 'onTextChannelChange' + } + }, { xtype: 'combobox', name: 'type', + reference: 'commandType', fieldLabel: Strings.sharedType, store: 'CommandTypes', displayField: 'name', -- cgit v1.2.3