Integrate Harry's modifications to reload pop-up content
This commit is contained in:
1 parent
b002c411ce
commit
ea19f11fe2
5 files changed
+84
-8
No files matched your search
@@ -0,0 +1,6 @@
|
||||
var to_render = '';
|
||||
<% if value %>
|
||||
to_render = "<%= escape_javascript(render(:partial => partial, :object => value, :locals => locals)) %>"
|
||||
<% elsif values %>
|
||||
to_render = "<%= escape_javascript(render(:partial => partial, :collection => values, :locals => locals)) %>"
|
||||
<% end %>
|
||||
Reference in new issue
Block a user