This is an automated email from the ASF dual-hosted git repository.

mleila pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 8813c75986 Fixed: Jgrowl label are not well retrieved (OFBIZ-12875)
8813c75986 is described below

commit 8813c759866b2201bc87b8f20ad655f1bb036d00
Author: MLeila <mle...@apache.org>
AuthorDate: Fri Feb 16 10:30:19 2024 +0100

    Fixed: Jgrowl label are not well retrieved (OFBIZ-12875)
    
    Fix a jGrowlLabelObject undefined error when calling showjGrowlMessage
---
 themes/common-theme/webapp/common-theme/js/util/OfbizUtil.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/themes/common-theme/webapp/common-theme/js/util/OfbizUtil.js 
b/themes/common-theme/webapp/common-theme/js/util/OfbizUtil.js
index 765eb7f5cb..e4fb3dab21 100644
--- a/themes/common-theme/webapp/common-theme/js/util/OfbizUtil.js
+++ b/themes/common-theme/webapp/common-theme/js/util/OfbizUtil.js
@@ -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];

Reply via email to