-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
When I use ZK Calendar 1.0 and <listbox> with sizeable headers, then the header resizing is broken, JS error:
_initPt is undefined /js/zk/zk.js.dsp Line 6 if(!window.z_dragdrop_js){z_dragdrop_j...ow.Draggable){Draggable=zDraggable}};
I guess it is caused by calendars.js:
zk.override(zDraggable.prototype, "initDrag", _zkdd, function (event) {
if(typeof zDraggable._dragging[this.element] != 'undefined' &&
zDraggable._dragging[this.element]) return;
Is my guess right? How to fix this problem? Why is the "initDrag" overridden in the ZK Calendar 1.0?
Thanks
Hi xmedeko
I think that override was for fix some bug
I checked the different between the initDrag in dragdrop.js and the override initDrag in calendar.js
the override initDrag in calendar.js has below check
if (!this.element._skipped)
You can try to remove this check
Hi Jimmi,
nope, the problem is in the
zDraggables.activate(this, pointer);
the calendars.js has just
zDraggables.activate(this);
When I have changed this, then the <listbox> can resize the headers again and the ZK Calendar seems working fine, too.
OK,
I thank it is a miss part, thanks for your advice.
Asked: 2010-08-24 06:24:36 +0800
Seen: 253 times
Last updated: Oct 25 '10