Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

prevent infinite-loops when loading mercury editor #352

Merged
merged 1 commit into from Mar 10, 2013

Conversation

Projects
None yet
2 participants
Contributor

trongrg commented Mar 8, 2013

When I followed "Rails Integration Techniques", there is a problem with loading Mercury editor.

When the page is ended with #, Mercury editor will be loaded even in the iframe, which creates an infinite-loops of loading the editor.

This happened because param mercury_frame was not set, due to being after the hash "#" symbol.

The pull request just adds a replace call to remove the trailing hash in iframeSrc url.

jejacks0n added a commit that referenced this pull request Mar 10, 2013

Merge pull request #352 from trongrg/fix_infinite_loops
prevent infinite-loops when loading mercury editor

@jejacks0n jejacks0n merged commit 623daa2 into jejacks0n:master Mar 10, 2013

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