This is an automated email from the ASF dual-hosted git repository.
mleila pushed a commit to branch release22.01
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release22.01 by this push:
new 768d0780af Fixed: Jgrowl label are not well retrieved (OFBIZ-12875)
768d0780af is described below
commit 768d0780afb2e8a70acb9017a7ded9d4e72dfa30
Author: MLeila <[email protected]>
AuthorDate: Fri Feb 16 10:52:09 2024 +0100
Fixed: Jgrowl label are not well retrieved (OFBIZ-12875)
Fix a jGrowlLabelObject undefined error when calling showjGrowlMessage
---
themes/common-theme/webapp/common/js/util/OfbizUtil.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/themes/common-theme/webapp/common/js/util/OfbizUtil.js
b/themes/common-theme/webapp/common/js/util/OfbizUtil.js
index ba84c70a70..7ce594d2e8 100644
--- a/themes/common-theme/webapp/common/js/util/OfbizUtil.js
+++ b/themes/common-theme/webapp/common/js/util/OfbizUtil.js
@@ -1283,7 +1283,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];