Bug Tracker

Ticket #2443: draggable.patch

File draggable.patch, 776 bytes (added by StrikerNL, 14 years ago)

Patch to fix

  • ui.draggable.

    old new  
    110110                        //Create and append the visible helper
    111111                        this.helper = typeof o.helper == 'function' ? $(o.helper.apply(this.element[0], [e])) : (o.helper == 'clone' ? this.element.clone().appendTo((o.appendTo == 'parent' ? this.element[0].parentNode : o.appendTo)) : this.element);
    112112                        if(this.helper[0] != this.element[0]) this.helper.css('position', 'absolute');
     113                        if(typeof(this.options.zIndex)!='undefined') this.helper.css('z-index', this.options.zIndex);
    113114                        if(!this.helper.parents('body').length) this.helper.appendTo((o.appendTo == 'parent' ? this.element[0].parentNode : o.appendTo));
    114115
    115116                        //Find out the next positioned parent