[-] MO productcomments :
- Module was broken and works now - A message is displayed to indicate when a comment has been added. - Error li are correctly indented #PNM-753 #PNM-1601 #PNM-1660 #PNM-1609 #PNM-1491 #PNM-1311 #PNM-1233 #PNM-1232 #PNM-937 #PNM-775
This commit is contained in:
@@ -322,6 +322,7 @@ function fancyChooseBox(question, title, buttons, otherParams)
|
||||
for (var caption in buttons) {
|
||||
if (!buttons.hasOwnProperty(caption)) continue;
|
||||
funcName = buttons[caption];
|
||||
if (typeof otherParams == 'undefined') otherParams = 0;
|
||||
otherParams = escape(JSON.stringify(otherParams));
|
||||
action = funcName ? "$.fancybox.close();window['" + funcName + "'](JSON.parse(unescape('" + otherParams + "')), " + i + ")" : "$.fancybox.close()";
|
||||
msg += '<input class="button" style="margin-right: 5px" type="button" value="' + caption + '" onclick="' + action + '" />';
|
||||
|
||||
Reference in New Issue
Block a user