Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#8958 closed bug (fixed)

Dialog: Double ui-widget-overlay when opening modal dialog triggers an event opening same dialog

Reported by: mollw3 Owned by: djQuery
Priority: minor Milestone: 1.10.1
Component: ui.dialog Version: 1.9.2
Keywords: Cc:
Blocked by: Blocking:

Description

When opening a modal dialog triggers an event that opens the same dialog two ui-widget-overlays is added to DOM, but when I close the dialog one overlay stays and there is no way to interact without reloading page or removing overlay from DOM with developer tools or similar.

The issue is present in jquery-ui 1.9.2 in Google Chrome 23.0.1271.97 but works in Internet Explorer 9.0.8112.16421. Using Windows 7.

http://jsfiddle.net/mollwe/QUwFy/2/

Change History (6)

comment:1 Changed 10 years ago by tj.vantoll

Status: newopen
Summary: Double ui-widget-overlay when opening modal dialog triggers an event opening same dialogDialog: Double ui-widget-overlay when opening modal dialog triggers an event opening same dialog

Confirmed against master - http://jsfiddle.net/tj_vantoll/Gey9L/. The issue occurs in WebKit and Opera and isn't present in Firefox or IE.

comment:2 Changed 10 years ago by tj.vantoll

Milestone: 1.10.0none

comment:3 Changed 10 years ago by djQuery

Last edited 10 years ago by djQuery (previous) (diff)

comment:4 Changed 10 years ago by Corey Frang

Owner: set to djQuery
Status: openassigned

comment:5 Changed 10 years ago by Scott González

Resolution: fixed
Status: assignedclosed

Dialog: Set the _isOpen flag immediately in open(). Fixes #8958 - Dialog: Double ui-widget-overlay when opening modal dialog triggers an event opening same dialog.

Changeset: 62cda1f95d0e7040153f0b5fe5745d199a0a094e

comment:6 Changed 10 years ago by Scott González

Milestone: none1.10.1
Note: See TracTickets for help on using tickets.