diff --git a/html/js/product-multilingual.js b/html/js/product-multilingual.js index 957af869cfb86..d03318407607e 100644 --- a/html/js/product-multilingual.js +++ b/html/js/product-multilingual.js @@ -656,7 +656,7 @@ function get_recents(tagfield) { // Create some defaults, extending them with any options that were provided settings = $.extend(settings, options); img_path = settings.img_path; - code = $("input:hidden[name=\"code\"]", $(this).closest("form")).val(); + code = $("#code").val(); code = code.replace(/\W/g, ''); return this.each(function() { diff --git a/templates/web/pages/product_edit/product_edit_form_display.tt.html b/templates/web/pages/product_edit/product_edit_form_display.tt.html index c5bd7350102a9..20b842af5aeb6 100644 --- a/templates/web/pages/product_edit/product_edit_form_display.tt.html +++ b/templates/web/pages/product_edit/product_edit_form_display.tt.html @@ -282,9 +282,9 @@

[% title %]

[% END %] [% END %] - - - + + +
[% IF type == 'edit' %]