Sha256: 3b4b182f37b23db51f073edec5536f2c86d73eeb0d937dae27ef07151dbc3744
Contents?: true
Size: 501 Bytes
Versions: 2
Compression:
Stored size: 501 Bytes
Contents
notice_div = $('.flash.notice'); <% notice = flash.discard(:notice) if notice %> if (notice_div.length > 0) { notice_div.html("<%= notice %>"); notice_div.show(); } else { if ($("#content .toolbar").length > 0) { $("#content .toolbar").before('<div class="flash notice"><%= notice %></div>'); } else { $("#content h1").before('<div class="flash notice"><%= notice %></div>'); } } <% end %> <%= render(:partial => "/admin/shared/update_order_state") if @order %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_core-0.70.0.rc2 | app/views/admin/shared/_destroy.js.erb |
spree_core-0.70.RC1 | app/views/admin/shared/_destroy.js.erb |