X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..6e39d509471fe9b4e2660e0d1631b350d0c66f40:/src/widgets/list/Sorter.js diff --git a/src/widgets/list/Sorter.js b/src/widgets/list/Sorter.js index 6c4efbd7..a6cedc9f 100644 --- a/src/widgets/list/Sorter.js +++ b/src/widgets/list/Sorter.js @@ -1,17 +1,17 @@ /*! - * Ext JS Library 3.0.3 + * Ext JS Library 3.1.0 * Copyright(c) 2006-2009 Ext JS, LLC * licensing@extjs.com * http://www.extjs.com/license */ /** - * @class Ext.ListView.Sorter + * @class Ext.list.Sorter * @extends Ext.util.Observable - *

Supporting Class for Ext.ListView.

+ *

Supporting Class for Ext.list.ListView

* @constructor * @param {Object} config */ -Ext.ListView.Sorter = Ext.extend(Ext.util.Observable, { +Ext.list.Sorter = Ext.extend(Ext.util.Observable, { /** * @cfg {Array} sortClasses * The CSS classes applied to a header when it is sorted. (defaults to ["sort-asc", "sort-desc"]) @@ -20,7 +20,7 @@ Ext.ListView.Sorter = Ext.extend(Ext.util.Observable, { constructor: function(config){ Ext.apply(this, config); - Ext.ListView.Sorter.superclass.constructor.call(this); + Ext.list.Sorter.superclass.constructor.call(this); }, init : function(listView){ @@ -67,4 +67,7 @@ Ext.ListView.Sorter = Ext.extend(Ext.util.Observable, { this.view.store.sort(this.view.columns[index].dataIndex); } } -}); \ No newline at end of file +}); + +// Backwards compatibility alias +Ext.ListView.Sorter = Ext.list.Sorter; \ No newline at end of file