Sha256: 678dff55d400fa4181c995833a763f768bc61c5c6a9c044e632bfe8e58208ed3
Contents?: true
Size: 861 Bytes
Versions: 108
Compression:
Stored size: 861 Bytes
Contents
(function() { <% if @parent_element && @parent_element.contents.empty? %> var $parent = $('#element_<%= @parent_element.id %>'); Alchemy.ElementEditors.setTitle( $parent, '<%= sanitize(@parent_element.preview_text.presence || ' ') %>' ); <% end %> <% if @trashed_element_ids.any? %> $('#element_area .ajax-folder').show(); <% 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.growl('<%= Alchemy.t(:successfully_restored_element) -%>'); <% else %> Alchemy.growl('<%= Alchemy.t(:successfully_saved_element_position) -%>'); <% end %> Alchemy.PreviewWindow.refresh(); })();
Version data entries
108 entries across 108 versions & 1 rubygems