// Fix missing saving button in products

This commit is contained in:
Jerome Nadaud
2013-11-25 18:01:01 +01:00
parent d9e53486a0
commit a81ee41374
2 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -411,10 +411,10 @@ function handleSaveButtons(e)
// common for all products
$("#disableSaveMessage").remove();
if ($("#name_" + id_lang_default).val() == "" && (!display_multishop_checkboxes || $('input[name=\'multishop_check[name][' + id_lang_default + ']\']').prop('checked')))
{
msg[i++] = empty_name_msg;
}
// check friendly_url_[defaultlangid] only if name is ok
else if ($("#link_rewrite_" + id_lang_default).val() == "" && (!display_multishop_checkboxes || $('input[name=\'link_rewrite[name][' + id_lang_default + ']\']').prop('checked')))
msg[i++] = empty_link_rewrite_msg;