[ofbiz-framework] branch trunk updated: Fixed: Display last-visited-time popup after login (OFBIZ-12148)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch trunk updated: Fixed: Display last-visited-time popup after login (OFBIZ-12148)

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

jamesyong 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 162506d  Fixed: Display last-visited-time popup after login (OFBIZ-12148)
162506d is described below

commit 162506d372a7cb2a69c2bcf1752bb91a681ee58c
Author: James Yong <[hidden email]>
AuthorDate: Wed Feb 24 16:54:39 2021 +0700

    Fixed: Display last-visited-time popup after login (OFBIZ-12148)
   
    Empty popup occurs when showjGrowl is run later than the javascript from unsafe message. Delay running of showjGrowl function from 10 to 100 milliseconds.
   
    Thanks Jacques for reporting.
---
 themes/common-theme/template/includes/Messages.ftl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/themes/common-theme/template/includes/Messages.ftl b/themes/common-theme/template/includes/Messages.ftl
index 67cbb33..ca85f80 100644
--- a/themes/common-theme/template/includes/Messages.ftl
+++ b/themes/common-theme/template/includes/Messages.ftl
@@ -107,7 +107,7 @@ setTimeout(function(){
   showjGrowl(
           "${uiLabelMap.CommonShowAll}", "${uiLabelMap.CommonCollapse}", "${uiLabelMap.CommonHideAllNotifications}",
           "${jGrowlPosition}", "${jGrowlWidth}", "${jGrowlHeight}", "${jGrowlSpeed}");
-      }, 10);
+      }, 100);
     <#else>
 showjGrowl(
         "${uiLabelMap.CommonShowAll}", "${uiLabelMap.CommonCollapse}", "${uiLabelMap.CommonHideAllNotifications}",