@@ -314,14 +314,6 @@
presentaciones();
getVariants();
showPriceBaseInput(<%= @product.is_in_dollars? %>);
-
- $(document).on("keydown", function (e) {
- if (window.location.pathname == "/products/new") {
- if (e.which === 8) {
- e.preventDefault();
- }
- });
});
$('#product_size_list').on('change', function(event) { getVariants(); });
@@ -340,14 +340,6 @@
- if (window.location.pathname == "/purchases/new") {
- if (e.which === 8 && !$(e.target).is("input, textarea")) {
$("#submit_remote").on( "click", function(e) {