aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/CommandDialog.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-03-08 19:21:24 +1300
committerGitHub <noreply@github.com>2017-03-08 19:21:24 +1300
commit2e76f6cb4487a1efd3fbe168e6168f9ed5c2df47 (patch)
treee8649620a02d050b1c2e907212ae2a0ef2cfd041 /web/app/view/CommandDialog.js
parent50a2616002602c379f408d5ecc404a59d317b0ca (diff)
parentf30f6961890371e026cd548874a31292e2de3c21 (diff)
downloadetbsa-traccar-web-2e76f6cb4487a1efd3fbe168e6168f9ed5c2df47.tar.gz
etbsa-traccar-web-2e76f6cb4487a1efd3fbe168e6168f9ed5c2df47.tar.bz2
etbsa-traccar-web-2e76f6cb4487a1efd3fbe168e6168f9ed5c2df47.zip
Merge pull request #422 from Abyss777/sms_commands
Implement SMS commands
Diffstat (limited to 'web/app/view/CommandDialog.js')
-rw-r--r--web/app/view/CommandDialog.js13
1 files changed, 12 insertions, 1 deletions
diff --git a/web/app/view/CommandDialog.js b/web/app/view/CommandDialog.js
index 24e0e19..ef486c4 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',