aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/UserDevicesController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-15 15:12:46 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-15 15:12:46 +1300
commitd3ca7de349f1d8ab0d02bf783a2c7627af44c6fd (patch)
tree73684ec6f484001d25bb9c1c417d4f5c7aba2e1d /web/app/view/UserDevicesController.js
parent7925028c138228f369180adbd857f4cd986a6346 (diff)
downloadtrackermap-server-d3ca7de349f1d8ab0d02bf783a2c7627af44c6fd.tar.gz
trackermap-server-d3ca7de349f1d8ab0d02bf783a2c7627af44c6fd.tar.bz2
trackermap-server-d3ca7de349f1d8ab0d02bf783a2c7627af44c6fd.zip
Change user devices window
Diffstat (limited to 'web/app/view/UserDevicesController.js')
-rw-r--r--web/app/view/UserDevicesController.js31
1 files changed, 31 insertions, 0 deletions
diff --git a/web/app/view/UserDevicesController.js b/web/app/view/UserDevicesController.js
new file mode 100644
index 000000000..ec40fec02
--- /dev/null
+++ b/web/app/view/UserDevicesController.js
@@ -0,0 +1,31 @@
+/*
+ * Copyright 2015 Anton Tananaev (anton.tananaev@gmail.com)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+Ext.define('Traccar.view.UserDevicesController', {
+ extend: 'Ext.app.ViewController',
+ alias: 'controller.userDevices',
+
+ init: function () {
+ //Ext.getStore('Users').load();
+ },
+
+ onSelectionChange: function (selected) {
+ /*var disabled = selected.length > 0;
+ this.lookupReference('toolbarEditButton').setDisabled(disabled);
+ this.lookupReference('toolbarRemoveButton').setDisabled(disabled);
+ this.lookupReference('userDevicesButton').setDisabled(disabled);*/
+ }
+});