Sha256: 919dfa6f2af58798adccfde3b7a7730012ac6035b43d74706ebb1d3f7b710d18

Contents?: true

Size: 470 Bytes

Versions: 153

Compression:

Stored size: 470 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 .icon').removeClass('fa-paste').addClass('fa-clipboard');
  $("#clipboard_items").replaceWith("<%= j render_message { Alchemy.t('No items in your clipboard') } %>");
<%- end -%>

})(jQuery);

Version data entries

153 entries across 153 versions & 1 rubygems

Version Path
alchemy_cms-6.0.0.pre.rc3 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-5.2.5 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-5.1.9 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-5.0.9 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-4.6.6 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-5.2.4 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-5.1.8 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-5.0.8 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-4.6.5 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-4.5.1 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-4.4.5 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-4.6.4 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-5.0.7 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-5.1.7 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-5.2.3 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-6.0.0.pre.rc2 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-5.1.6 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-5.0.6 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-5.2.2 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-5.1.5 app/views/alchemy/admin/clipboard/remove.js.erb