Sha256: 5564eb559108b9904f217b73efab7ef6e3d6f14e57386a1c20d4e7627b3f8faa
Contents?: true
Size: 601 Bytes
Versions: 4
Compression:
Stored size: 601 Bytes
Contents
$('#element_area .ajax_folder').show(); Alchemy.PreviewWindow.refresh(); <% if @trashed_element_ids.any? %> Alchemy.growl('<%= _t(:successfully_restored_element) -%>'); <% element_ids = @trashed_element_ids.collect do |id| "#element_area [data-element-id=\"#{id}\"]" end.join(", ").html_safe %> <% @trashed_element_ids.each do |id| %> $('<%= element_ids %>').each(function() { this.id = 'element_' + <%= id %> }); <% end %> Alchemy.ElementEditors.reinit('<%= element_ids %>'); <% else %> Alchemy.growl('<%= _t(:successfully_saved_element_position) -%>'); <% end %>
Version data entries
4 entries across 4 versions & 2 rubygems