Sha256: 06daa3d3ac40ce73e83ada19cfbd653272fe1477f37f09a9fab85b55946c407b
Contents?: true
Size: 1.73 KB
Versions: 4
Compression:
Stored size: 1.73 KB
Contents
{I" class:ETI"BundledAsset; FI"logical_path; TI"%spree/backend/taxon_tree_menu.js; FI" pathname; TI"{/usr/local/rvm/gems/ruby-2.0.0-p481/gems/spree_backend-2.2.4/app/assets/javascripts/spree/backend/taxon_tree_menu.js.coffee; FI"content_type; TI"application/javascript; TI" mtime; Tl+Æ‘TI"length; TißI"digest; TI"%93ee085031857d5fe1ec897adb6f81f2; FI"source; TI"ß(function() { var root; root = typeof exports !== "undefined" && exports !== null ? exports : this; root.taxon_tree_menu = function(obj, context) { var admin_base_url, base_url, edit_url; base_url = Spree.url(Spree.routes.taxonomy_taxons_path); admin_base_url = Spree.url(Spree.routes.admin_taxonomy_taxons_path); edit_url = admin_base_url.clone(); edit_url.setPath(edit_url.path() + '/' + obj.attr("id") + "/edit"); return { create: { label: "<i class='fa fa-plus'></i> " + Spree.translations.add, action: function(obj) { return context.create(obj); } }, rename: { label: "<i class='fa fa-pencil'></i> " + Spree.translations.rename, action: function(obj) { return context.rename(obj); } }, remove: { label: "<i class='fa fa-trash'></i> " + Spree.translations.remove, action: function(obj) { return context.remove(obj); } }, edit: { separator_before: true, label: "<i class='fa fa-edit'></i> " + Spree.translations.edit, action: function(obj) { return window.location = edit_url.toString(); } } }; }; }).call(this); ; TI"required_assets_digest; TI"%3806c6f7f3ffa020b151c02bf134cfab; FI" _version; TI"%5ef14a844324cba3e114bd0123f88a5e; F
Version data entries
4 entries across 2 versions & 1 rubygems