Skip to content
Snippets Groups Projects
Commit 33def6ba authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Require search dropdown class in search container.

Previously it happened to be required by search controller.
But one shouldn't rely on such a coincidence - each view should
declare all the classes it depends on.
parent e3efde6e
No related branches found
No related tags found
No related merge requests found
......@@ -9,10 +9,6 @@ Ext.define('Docs.controller.Search', {
'Docs.History'
],
views: [
'search.Dropdown'
],
stores: ['Search'],
refs: [
......
......@@ -4,6 +4,7 @@
Ext.define('Docs.view.search.Container', {
extend: 'Ext.container.Container',
alias: 'widget.searchcontainer',
requires: 'Docs.view.search.Dropdown',
initComponent: function() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment