Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Clone HTML for dialogs #259

Merged
merged 2 commits into from
Feb 15, 2012
Merged

Clone HTML for dialogs #259

merged 2 commits into from
Feb 15, 2012

Conversation

njx
Copy link

@njx njx commented Feb 14, 2012

@peterflynn

For #187, we now no longer directly show the original dialog DOM nodes. Instead, we clone them each time showModalDialog() is invoked. As part of this change, the original dialog templates are now addressed by a class name rather than by ID, and the marker class "template" is assumed to be applied to them.

…ng it directly, so we can have multiple instances.
@@ -177,11 +193,12 @@ define(function (require, exports, module) {
* If the dialog is visible, immediately closes it. The dialog callback will be called with the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should amend the docs to say something like, "If any dialog of the given type if open..."

@peterflynn
Copy link
Member

Code review done. I played with it and it looks good. With that one comment fixed, I think it's good to merge anytime.

@njx
Copy link
Author

njx commented Feb 15, 2012

Updated the comment--please take a look and merge when you can. Thanks.

peterflynn added a commit that referenced this pull request Feb 15, 2012
Fix issue #187 (brackets.showModalDialog() breaks if similar dialogs are ever stacked / shown simultaneously) -- Clone HTML for dialogs
@peterflynn peterflynn merged commit d7a76de into master Feb 15, 2012
sedge pushed a commit to sedge/nimble that referenced this pull request May 14, 2015
gideonthomas pushed a commit to gideonthomas/brackets that referenced this pull request May 15, 2015
gideonthomas pushed a commit to gideonthomas/brackets that referenced this pull request May 20, 2015
sedge pushed a commit to sedge/nimble that referenced this pull request May 27, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants