diff --git a/template/app/controller/Search.js b/template/app/controller/Search.js index 5f2a0f6a71737bbf27cb198bfffe4099108188c2..2ebeaff32361c9df678929f3c91b1052fea5ba22 100644 --- a/template/app/controller/Search.js +++ b/template/app/controller/Search.js @@ -9,10 +9,6 @@ Ext.define('Docs.controller.Search', { 'Docs.History' ], - views: [ - 'search.Dropdown' - ], - stores: ['Search'], refs: [ diff --git a/template/app/view/search/Container.js b/template/app/view/search/Container.js index 60e67a5a058827311b1e04fb47de1a33e6b7781d..30b7a97d3c331696403cd088a567016fd4c4e193 100644 --- a/template/app/view/search/Container.js +++ b/template/app/view/search/Container.js @@ -4,6 +4,7 @@ Ext.define('Docs.view.search.Container', { extend: 'Ext.container.Container', alias: 'widget.searchcontainer', + requires: 'Docs.view.search.Dropdown', initComponent: function() {