X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..2e847cf21b8ab9d15fa167b315ca5b2fa92638fc:/src/widgets/grid/AbstractSelectionModel.js diff --git a/src/widgets/grid/AbstractSelectionModel.js b/src/widgets/grid/AbstractSelectionModel.js index 42ed22c8..dd4e45f0 100644 --- a/src/widgets/grid/AbstractSelectionModel.js +++ b/src/widgets/grid/AbstractSelectionModel.js @@ -1,6 +1,6 @@ /*! - * Ext JS Library 3.0.0 - * Copyright(c) 2006-2009 Ext JS, LLC + * Ext JS Library 3.1.1 + * Copyright(c) 2006-2010 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){