Orbit/app/views/admin/ad_banners/realtime_preview.js.erb

2 lines
198 B
Plaintext
Raw Permalink Normal View History

$('#show_preview').html("<%= escape_javascript(render(:partial => 'modal_preview',:locals => {:ad_banner => @ad_banner})) %>");
var start_modal_with_id = "slideshow-<%=@ad_banner.title.dehumanize%>"