Sha256: dde89e6935ccccde88114c5c017d14ded1633027059ebb99fdeb2d32eaca002c

Contents?: true

Size: 455 Bytes

Versions: 12

Compression:

Stored size: 455 Bytes

Contents

(function($) {

  $("#clipboard_item_<%= @item.id -%>").remove();
  Alchemy.growl('<%= Alchemy.t("item removed from clipboard", :name => @item.class.to_s == "Element" ? @item.display_name_with_preview_text : @item.name) -%>');
<%- if @clipboard.blank? -%>
  $('#clipboard_button alchemy-icon').attr('icon-style', 'line');
  $("#clipboard_items").replaceWith("<%= j render_message { Alchemy.t('No items in your clipboard') } %>");
<%- end -%>

})(jQuery);

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
alchemy_cms-7.3.4 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.3.3 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.3.2 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.2.7 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.3.1 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.3.0 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.2.6 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.2.5 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.2.4 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.2.3 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.2.2 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.2.1 app/views/alchemy/admin/clipboard/remove.js.erb