aboutsummaryrefslogtreecommitdiff
path: root/web/app/store
diff options
context:
space:
mode:
authorGábor Somogyi <gabor.g.somogyi@gmail.com>2016-05-06 00:00:33 +0200
committerGábor Somogyi <gabor.g.somogyi@gmail.com>2016-05-06 00:00:33 +0200
commit393192ff0253e74e1ada9cb364a1c05cc7ac7e23 (patch)
treeea07f1c29c9f9124b205e9b1df46118b8a11825c /web/app/store
parent69c6d76fa6f5aba94477fae71fc348cd464ba2ac (diff)
downloadtrackermap-server-393192ff0253e74e1ada9cb364a1c05cc7ac7e23.tar.gz
trackermap-server-393192ff0253e74e1ada9cb364a1c05cc7ac7e23.tar.bz2
trackermap-server-393192ff0253e74e1ada9cb364a1c05cc7ac7e23.zip
Rename SupportedCommand to CommandType
Diffstat (limited to 'web/app/store')
-rw-r--r--web/app/store/CommandTypes.js (renamed from web/app/store/SupportedCommands.js)4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/store/SupportedCommands.js b/web/app/store/CommandTypes.js
index 2bb73839b..d2f9b57e4 100644
--- a/web/app/store/SupportedCommands.js
+++ b/web/app/store/CommandTypes.js
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-Ext.define('Traccar.store.SupportedCommands', {
+Ext.define('Traccar.store.CommandTypes', {
extend: 'Ext.data.Store',
fields: ['key'],
@@ -22,7 +22,7 @@ Ext.define('Traccar.store.SupportedCommands', {
'beforeload' : function(store, eOpts) {
var proxy;
proxy = store.getProxy();
- proxy.setUrl('/api/supportedcommands?deviceId' + proxy.extraParams.deviceId);
+ proxy.setUrl('/api/commandtypes?deviceId' + proxy.extraParams.deviceId);
}
},