X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..6e39d509471fe9b4e2660e0d1631b350d0c66f40:/src/widgets/grid/AbstractSelectionModel.js diff --git a/src/widgets/grid/AbstractSelectionModel.js b/src/widgets/grid/AbstractSelectionModel.js index e53e3d7e..55d1fa2e 100644 --- a/src/widgets/grid/AbstractSelectionModel.js +++ b/src/widgets/grid/AbstractSelectionModel.js @@ -1,5 +1,5 @@ /*! - * 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 @@ -11,17 +11,17 @@ * implemented by descendant classes. This class should not be directly instantiated. * @constructor */ -Ext.grid.AbstractSelectionModel = function(){ - this.locked = false; - Ext.grid.AbstractSelectionModel.superclass.constructor.call(this); -}; - -Ext.extend(Ext.grid.AbstractSelectionModel, Ext.util.Observable, { +Ext.grid.AbstractSelectionModel = Ext.extend(Ext.util.Observable, { /** * The GridPanel for which this SelectionModel is handling selection. Read-only. * @type Object * @property grid */ + + constructor : function(){ + this.locked = false; + Ext.grid.AbstractSelectionModel.superclass.constructor.call(this); + }, /** @ignore Called by the grid automatically. Do not call directly. */ init : function(grid){