Displaying 1 result from an estimated 1 matches for "programaticaly".
Did you mean:
programatically
2005 Mar 28
0
Handling return from modal pages on rails
...ink or
form is activated, rather than before.
*link_modal* is a version of link_to that adds "?ret=<URL>.L<LINK_ID>"
to the link. It takes an extra "link_id" argument that sets the ID
attribute of the A element to L<LINK_ID>". I usually derive this ID
programaticaly, from the ID of the record that this link pertains to.
Set it to "nil" if you don''t use it. It''ll make a garbage link if you
don''t set the ID.
*
modal_form* creates a hidden form field named "ret", set as above.
*
store_return* is a filter that looks...