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