{I" class:ETI"BundledAsset;FI"logical_path;TI"%spree/backend/taxon_tree_menu.js;FI" pathname;TI"{/usr/local/rvm/gems/ruby-2.1.2/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;TiI" 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: " " + Spree.translations.add, action: function(obj) { return context.create(obj); } }, rename: { label: " " + Spree.translations.rename, action: function(obj) { return context.rename(obj); } }, remove: { label: " " + Spree.translations.remove, action: function(obj) { return context.remove(obj); } }, edit: { separator_before: true, label: " " + 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