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

Command icon 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

whthat created an issue. See original summary.

whthat’s picture

Status: Active » Needs review

ram4nd made their first commit to this issue’s fork.

ram4nd’s picture

It worked, but I simplified the if condition and I added position support as well.