Skip to content

Commit

Permalink
Fixed: Jgrowl label are not well retrieved (OFBIZ-12875)
Browse files Browse the repository at this point in the history
Fix a jGrowlLabelObject undefined error when calling showjGrowlMessage
  • Loading branch information
MkLeila committed Feb 16, 2024
1 parent d0373f1 commit 8813c75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,7 @@ function showjGrowlMessage(errMessage, classEvent, stickyValue, showAllLabel, co
if (!showAllLabel || !collapseLabel || !hideAllLabel) {
var jGrowlLabelObject = ["CommonHideAllNotifications", "CommonShowAll", "CommonCollapse"];
getJSONuiLabels(jGrowlLabelObject, function (result) {
jGrowlLabelObject = result.responseJSON.CommonUiLabels;
jGrowlLabelObject = result.responseJSON;
});

if (!showAllLabel) showAllLabel = jGrowlLabelObject[2];
Expand Down

0 comments on commit 8813c75

Please sign in to comment.