Problem/Motivation
Views admin dialogs are not displayed correctly with jQuery UI 1.14.0 updates. CSS class "views-ui-dialog" is not being applied to dialog container.
jQuery UI 1.12.0 deprecated "dialogClass" option replacing with "classes" object.
Steps to reproduce
Use jQuery UI 1.14.0, open a Views admin interface, edit a field.
Proposed resolution
Update ajax.js which loads the jQuery UI dialog with version detection for 1.12.0+ then use "classes" option
Issue fork views-3478813
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
whthat commentedComment #5
ram4nd commentedIt worked, but I simplified the if condition and I added position support as well.