Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@SudoMike
Copy link

No description provided.

@SudoMike
Copy link
Author

Note: This is to fix a bug where the expose mask will not be there if you have one overlay up and you close that one and load another one. Like this:

$( "#overlay1" ).load();

.. later, in response to a button in overlay1:

$( "#overlay1" ).close();
$( "#overlay2" ).load();

The old behavior was that there would be no expose mask when overlay2 showed up. With this change, the expose mask stops its fadeOut animation when overlay2's load is called.

@alibby251
Copy link
Contributor

Hi SudoMike,

Any chance you could please post a demo with patched code, so we can see this in action please?

@SudoMike
Copy link
Author

Sure. Here's a demo of the bug with the current jquery tools: http://jsfiddle.net/DkwSD/

The meat of the code is in ShowPopup2(), where it hides the first popup and shows the second popup.

Here's the same demo with my fixes: http://jsfiddle.net/v8bjW/3/

The only difference in the second demo is that I've replaced "<script src="http://cdn.jquerytools.org/1.2.7/full/jquery.tools.min.js">" by pasting (the fixed version of) toolbox.expose.js and overlay.js directly in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.