aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/CommandDialogController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-03 20:27:15 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-03 20:27:15 +1300
commit8782eeec561e490b4262ba8983e69623daaf5845 (patch)
tree6cb8c6ccb1b4db249133d71fc521155f63b241ca /web/app/view/CommandDialogController.js
parent458809c4ee29e3410686bf6d8c80c746caf9724f (diff)
downloadtrackermap-server-8782eeec561e490b4262ba8983e69623daaf5845.tar.gz
trackermap-server-8782eeec561e490b4262ba8983e69623daaf5845.tar.bz2
trackermap-server-8782eeec561e490b4262ba8983e69623daaf5845.zip
Add space after function keyword
Diffstat (limited to 'web/app/view/CommandDialogController.js')
-rw-r--r--web/app/view/CommandDialogController.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/app/view/CommandDialogController.js b/web/app/view/CommandDialogController.js
index 6aba4a6f1..88e72d6e3 100644
--- a/web/app/view/CommandDialogController.js
+++ b/web/app/view/CommandDialogController.js
@@ -18,12 +18,12 @@ Ext.define('Traccar.view.CommandDialogController', {
extend: 'Ext.app.ViewController',
alias: 'controller.commandDialog',
- onSelect: function(selected) {
+ onSelect: function (selected) {
this.lookupReference('paramPositionPeriodic').setHidden(
selected.getValue() !== 'positionPeriodic');
},
- onSendClick: function(button) {
+ onSendClick: function (button) {
var attributes, value, record, form;
form = button.up('window').down('form');
@@ -48,7 +48,7 @@ Ext.define('Traccar.view.CommandDialogController', {
});
},
- onSendResult: function(options, success, response) {
+ onSendResult: function (options, success, response) {
if (Traccar.ErrorManager.check(success, response)) {
Ext.toast(strings.commandSent);
this.closeView();