Nikku/jquery-bootstrap-scripting — Issue #33: Ajaxifying modal content after updating content via out-of-band ajax
Author: tboyko
Created: 2012-02-29 00:53:59+00:00
State: open

Is there a way to trigger `__ajaxify`, or better yet, `content-update`, after updating some of the content in the modal window via out-of-band means?

Use case: I am using Rails3 remote functionality to place ajax calls to the server from within a modal. The server response updates some of the contents of the modal. This contents includes `a.ajax` elements. These are not being respected, however, as they haven't been ajaxified.

Bonus: I have custom JS that I've plugged in via the `dialog2.closed` listener which I'd like to also trigger.