From 0e67b581f452fa1b29ea33dfc15ab7a55ad0ea4b Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Wed, 9 Mar 2016 14:32:32 -0800 Subject: [PATCH] Remove unused taxon_tree_menu.js.coffee This was missed as part of the jstree removal --- .../spree/backend/taxon_tree_menu.js.coffee | 21 ------------------- 1 file changed, 21 deletions(-) delete mode 100644 backend/app/assets/javascripts/spree/backend/taxon_tree_menu.js.coffee diff --git a/backend/app/assets/javascripts/spree/backend/taxon_tree_menu.js.coffee b/backend/app/assets/javascripts/spree/backend/taxon_tree_menu.js.coffee deleted file mode 100644 index 169fcb474fb..00000000000 --- a/backend/app/assets/javascripts/spree/backend/taxon_tree_menu.js.coffee +++ /dev/null @@ -1,21 +0,0 @@ -root = exports ? this - -root.taxon_tree_menu = (obj, context) -> - - base_url = Spree.routes.taxonomy_taxons_path - admin_base_url = Spree.routes.admin_taxonomy_taxons_path - edit_url = "#{admin_base_url}/#{obj.attr("id")}/edit" - - create: - label: " " + Spree.translations.add, - action: (obj) -> context.create(obj) - rename: - label: " " + Spree.translations.rename, - action: (obj) -> context.rename(obj) - remove: - label: " " + Spree.translations.remove, - action: (obj) -> context.remove(obj) - edit: - separator_before: true, - label: " " + Spree.translations.edit, - action: (obj) -> window.location = edit_url