From ac4f0adf3b196b1a9af40be64b3e4e0fac91c1d6 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Tue, 27 Sep 2016 09:52:42 +0500 Subject: Remove second store --- web/app/view/StateController.js | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'web/app/view/StateController.js') diff --git a/web/app/view/StateController.js b/web/app/view/StateController.js index 7462fcc..c0f5b9a 100644 --- a/web/app/view/StateController.js +++ b/web/app/view/StateController.js @@ -47,10 +47,6 @@ Ext.define('Traccar.view.StateController', { '#AllAttributeAliases': { add: 'updateAliases', update: 'updateAliases' - }, - '#AttributeAliases': { - add: 'updateAliasesRemote', - update: 'updateAliasesRemote' } } } @@ -183,14 +179,5 @@ Ext.define('Traccar.view.StateController', { if (this.position !== null) { this.updatePosition(); } - }, - - updateAliasesRemote: function () { - Ext.getStore('AllAttributeAliases').load({ - scope: this, - callback: function () { - this.updateAliases(); - } - }); } }); -- cgit v1.2.3