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-7.1.0 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.1.0.pre.rc1 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.1.0.pre.b2 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.1.0.pre.b1 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.0.8 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.0.7 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.0.6 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.0.5 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.0.4 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.0.3 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-6.1.9 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.0.2 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-6.1.8 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-6.1.7 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.0.1 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.0.0 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.0.0.pre.rc1 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-6.1.6 app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.0.0.pre.c app/views/alchemy/admin/clipboard/remove.js.erb
alchemy_cms-7.0.0.pre.b app/views/alchemy/admin/clipboard/remove.js.erb