Created
May 16, 2013 07:00
-
-
Save mfpiccolo/5589901 to your computer and use it in GitHub Desktop.
This is my attempt at fixing the reload problem after submitting a rename update.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery -> | |
$("#modal-wrap").html("""<%= escape_javascript(render "account/events/edit", event: @event, product: @product) %>""") | |
$("#modal").trigger("reveal:close") | |
$("#modal").click(location.reload()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment