partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit d09eb097fc98beff89bd0dc2b5fbe9bb21b7380c
parent e4da8bd0be4421e606a7bd6f6e6b3cd286f28d08
Author: Felicitus <felicitus@felicitus.org>
Date:   Mon, 12 Oct 2015 19:27:51 +0200

Removed obsolete CategoryTreeStore

Diffstat:
Dsrc/PartKeepr/FrontendBundle/Resources/public/js/Components/CategoryStore.js | 31-------------------------------
Msrc/PartKeepr/FrontendBundle/Resources/views/index.html.twig | 1-
2 files changed, 0 insertions(+), 32 deletions(-)

diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/Components/CategoryStore.js b/src/PartKeepr/FrontendBundle/Resources/public/js/Components/CategoryStore.js @@ -1,30 +0,0 @@ -Ext.define("PartKeepr.CategoryTreeStore", { - extend: "Ext.data.TreeStore", - - root: { - text: 'Ext JS', - id: 'src', - expanded: true - }, - constructor: function () { - Ext.apply(this, { - proxy: { - type: 'ajax', - url: PartKeepr.getBasePath()+'/Category', - method: 'POST', - extraParams: { - call: 'getCategories' - }, - reader: { - type: 'json', - root: 'response' - } - } - }); - - this.proxy.extraParams.session = PartKeepr.getSession(); - - this.callParent(); - }, - folderSort: true -});- \ No newline at end of file diff --git a/src/PartKeepr/FrontendBundle/Resources/views/index.html.twig b/src/PartKeepr/FrontendBundle/Resources/views/index.html.twig @@ -198,7 +198,6 @@ '@PartKeeprFrontendBundle/Resources/public/js/Components/Statistics/StatisticsChart.js' '@PartKeeprFrontendBundle/Resources/public/js/Components/Statistics/StatisticsChartPanel.js' '@PartKeeprFrontendBundle/Resources/public/js/Components/Statistics/CurrentStatisticsPanel.js' - '@PartKeeprFrontendBundle/Resources/public/js/Components/CategoryStore.js' '@PartKeeprFrontendBundle/Resources/public/js/Data/store/SystemNoticeStore.js' '@PartKeeprFrontendBundle/Resources/public/js/Components/TipOfTheDay/TipOfTheDayWindow.js' '@PartKeeprFrontendBundle/Resources/public/js/Components/CategoryTree.js'