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
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -9,10 +9,6 @@ Ext.define('Docs.controller.Search', {
        'Docs.History'
    ],

    views: [
        'search.Dropdown'
    ],

    stores: ['Search'],

    refs: [
+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
Ext.define('Docs.view.search.Container', {
    extend: 'Ext.container.Container',
    alias: 'widget.searchcontainer',
    requires: 'Docs.view.search.Dropdown',

    initComponent: function() {