[ofbiz-framework] branch trunk updated: Improved: Change inline style to class for wait-spinner (OFBIZ-12095)

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: Improved: Change inline style to class for wait-spinner (OFBIZ-12095)

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 71a0d6b  Improved: Change inline style to class for wait-spinner (OFBIZ-12095)
71a0d6b is described below

commit 71a0d6b4dbd9a41b951c95bbe38bd5b193431cbc
Author: James Yong <[hidden email]>
AuthorDate: Sat Dec 19 13:10:47 2020 +0800

    Improved: Change inline style to class for wait-spinner (OFBIZ-12095)
   
    Add code missed in earlier commit
---
 themes/common-theme/webapp/common/js/util/OfbizUtil.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/themes/common-theme/webapp/common/js/util/OfbizUtil.js b/themes/common-theme/webapp/common/js/util/OfbizUtil.js
index 559bd96..09c3573 100644
--- a/themes/common-theme/webapp/common/js/util/OfbizUtil.js
+++ b/themes/common-theme/webapp/common/js/util/OfbizUtil.js
@@ -1264,6 +1264,7 @@ function waitSpinnerShow() {
     winHeight = jQuery(window).height();
     lookupTop = (scrollOffY + winHeight / 2) - (jSpinner.height() / 2);
 
+    jSpinner.removeClass("hidden");
     jSpinner.css("display", "block");
     jSpinner.css("left", lookupLeft + "px");
     jSpinner.css("top", lookupTop + "px");