adbanner-test/app/views/admin/ad_banners/index.html.erb

13 lines
414 B
Plaintext
Raw Normal View History

<% content_for :page_specific_javascript do %>
<%= javascript_include_tag "cycle2" %>
<%= javascript_include_tag "ad_banner/banner_preview" %>
<% end %>
2016-01-05 11:57:19 +00:00
<%= render_filter @filter_fields, "index_table" %>
<span id="index_table">
<%= render 'index_table'%>
</span>
<script type="text/javascript">
2016-01-05 11:57:19 +00:00
$(document).on("ajaxSuccess",function(event, xhr, settings){
$(".cycle-slideshow").cycle();
})
2017-11-28 00:28:16 +00:00
</script>