partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

Ext.selection.RowModel-EXTJSIV-4312.js (549B)


      1 /**
      2  * This is a hackish bugfix for ExtJS 4.0.7. According to sencha, this has been fixed in EXTJSIV-4312. Remove this
      3  * as soon as a newer version as ExtJS 4.0.7 is out and fixes this bug.
      4  */
      5 Ext.override(Ext.selection.RowModel, {
      6 	onLastFocusChanged: function(oldFocused, newFocused, supressFocus) {
      7 		if (this.views && this.views.length) {
      8 			this.callOverridden(arguments);
      9 		}
     10 	},
     11 	onSelectChange: function(record, isSelected, suppressEvent, commitFn) {
     12 		if (this.views && this.views.length) {
     13 			this.callOverridden(arguments);
     14 		}
     15 	}
     16 	
     17 });