javascript - jQuery UI 1.10 dialog - prevent insertBefore -
With the new jQuery UI, when two open a dialogue window and trigger the focus - the focusing dialog before the other dialogs Will be inserted.
I have made my way to do this with the z-index , so I want to disable the default one.
I have set up for you View my issue
What is the method to disable this behavior?
I also have to link which I think describes it
Edit: I found
I got it but the ticket Open:
Edit: OK, I found a place that triggers it
_moveToTop: function (event, mute) moved to {var} = !! This. UIDL OH.NXL (":"). InsertInternin (this.widiology). Length; If (moved and quiet); {This._trigger ("focus", event); } Retired; }, This is a script that is executed. Now I know that I can modify the function inside jQuery. How to extend this part with your own functionality?
I have added this to my scripts to disable this behavior.
jQuery.ui.dialog.prototype._moveToTop = function (event, mute) {back true; };
Comments
Post a Comment