[Proto-Scripty] Re: Correct use Event.on form submit

2012-06-26 Thread Victor
Is this correct? this.__z__handleSubmit = this.form.on('submit', this.__handleSubmit. bindAsEventListener(this)); Is the bindAsEventListener necessary? I want to get back the Event Handler so I can later destroy it with: this.__z__handleSubmit.stop(); this.__handleSubmit.bind(this)

[Proto-Scripty] Re: Drag'n drop and strange z-index issue

2012-06-26 Thread Victor
In short words, B element after dragging becomes z-index: 0 instead of original z-index: auto and establishes new local stacking context. The logic in startDrag()/finishDrag() methods should be fixed to properly restore initial z-index for z-index: auto (now it defaults to 0). -- You received

[Proto-Scripty] Re: Drag'n drop and strange z-index issue

2012-06-26 Thread Victor
How can it be fixed? in startDrag() (dragdrop.js): if (this.options.zindex) { // FIXED z-index: auto - z-index: 0 // was this.originalZ = parseInt(Element.getStyle(this.element, 'z-index') || 0, 10); this.originalZ = Element.getStyle(this.element, 'z-index');

[Proto-Scripty] Re: Correct use Event.on form submit

2012-06-26 Thread kstubs
Victor, That is not conveniently tied to any event handler, so what is the convenient means of disconnecting it, as in __eventHandler.stop(); ? Karl.. On Tuesday, June 26, 2012 3:42:55 AM UTC-7, Victor wrote: Is this correct? this.__z__handleSubmit = this.form.on('submit',