Currently jquery ui dialog is draggable only on the titlebar
What’s the recommended way to make jquery ui dialog be draggable by the entire dialog instead of just the titlebar?
I just did
elem.dialog({draggable: false}).draggable()
Anything wrong with this?
Currently jQueryUI prevents the content from being draggable with this code:
So, to make the change you require you’ll need to access that internal
uiDialogobject and change its settings.If
dlgis your dialog content object:will work.
Note that this is futzing with jQueryUI internals and may break if those internals are changed by future updates.