[-] MO productcomments: confirmation message takes moderation mode into account

This commit is contained in:
Fabio Chelly
2013-09-23 11:24:14 +02:00
parent 214b844ef7
commit 31697fde3c
3 changed files with 6 additions and 3 deletions
@@ -70,7 +70,7 @@ $(function() {
$.fancybox.close();
var buttons = {};
buttons[productcomment_ok] = "productcommentRefreshPage";
fancyChooseBox(productcomment_added, productcomment_title, buttons);
fancyChooseBox(moderation_active ? productcomment_added_moderation : productcomment_added, productcomment_title, buttons);
}
else
{