PDA

View Full Version : [FIXED]Error "columnDragData is undefined" on GridView destroy. Ext 3.3



extjs@peacetech.com
2 Jul 2010, 10:32 AM
Error on GridView destroy line 72103
Ext 3.3 SVN as of morning 7/2/2010
all FF 3.6, IE8 (probably all browsers)


columnDragData is undefined
chrome://firebug/content/blank.gif columnDragData.ddel,




/** 72067 * @private
72068 * Destroys all objects associated with the GridView
72069 */
72070 destroy : function() {
72071 var me = this,
72072 grid = me.grid,
72073 gridEl = grid.getGridEl(),
72074 dragZone = me.dragZone,
72075 splitZone = me.splitZone,
72076 columnDrag = me.columnDrag,
72077 columnDrop = me.columnDrop,
72078 scrollToTopTask = me.scrollToTopTask,
72079 columnDragData,
72080 columnDragProxy;
72081
72082 if (scrollToTopTask && scrollToTopTask.cancel) {
72083 scrollToTopTask.cancel();
72084 }
72085
72086 Ext.destroyMembers(me, 'colMenu', 'hmenu');
72087
72088 me.initData(null, null);
72089 me.purgeListeners();
72090
72091 Ext.fly(me.innerHd).un("click", me.handleHdDown, me);
72092
72093 if (grid.enableColumnMove) {
72094 columnDragData = columnDrag.dataData;
72095 columnDragProxy = columnDrag.proxy;
72096 Ext.destroy(
72097 columnDrag.el,
72098 columnDragProxy.ghost,
72099 columnDragProxy.el,
72100 columnDrop.el,
72101 columnDrop.proxyTop,
72102 columnDrop.proxyBottom,
72103 columnDragData.ddel,
72104 columnDragData.header
72105 );
72106

extjs@peacetech.com
2 Jul 2010, 10:40 AM
The error can be observed in Desktop Sample App upon closing Grid Window

evant
4 Jul 2010, 3:16 PM
Thanks, the typo is fixed in SVN.