X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6746dc89c47ed01b165cc1152533605f97eb8e8d..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/docs/app/view/search/Dropdown.js diff --git a/docs/app/view/search/Dropdown.js b/docs/app/view/search/Dropdown.js deleted file mode 100644 index 411eb765..00000000 --- a/docs/app/view/search/Dropdown.js +++ /dev/null @@ -1,53 +0,0 @@ -/** - * Renders search results list. - */ -Ext.define('Docs.view.search.Dropdown', { - extend: 'Ext.view.View', - alias: 'widget.searchdropdown', - - floating: true, - autoShow: false, - autoRender: true, - toFrontOnShow: true, - focusOnToFront: false, - - store: 'Search', - - id: 'search-dropdown', - overItemCls:'x-view-over', - trackOver: true, - itemSelector:'div.item', - singleSelect: true, - - initComponent: function() { - this.tpl = new Ext.XTemplate( - '', - '
', - '
{member}
', - '
{cls}
', - '
', - '
', - '
{[values.length]} of {[this.getTotal()]}
', - { - getTotal: Ext.bind(this.getTotal, this) - } - ); - this.callParent(arguments); - }, - - /** - * Sets number of total search results - * @param {Number} total - */ - setTotal: function(total) { - this.total = total; - }, - - /** - * Returns number of total search results - * @return {Number} - */ - getTotal: function() { - return this.total; - } -});