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

14 lines
420 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-26 15:07:05 +00:00
</script>
</br>