[ofbiz-framework] branch trunk updated: Fixed: Open FTL File from browser (OFBIZ-12018)

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: Open FTL File from browser (OFBIZ-12018)

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 6fa1671  Fixed: Open FTL File from browser (OFBIZ-12018)
6fa1671 is described below

commit 6fa16710bcda40ee3deba04f51c2c7b728505298
Author: James Yong <[hidden email]>
AuthorDate: Sat Oct 3 17:51:15 2020 +0800

    Fixed: Open FTL File from browser (OFBIZ-12018)
   
    Fix named border not properly clean up.
---
 themes/common-theme/webapp/common/js/util/OfbizUtil.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/themes/common-theme/webapp/common/js/util/OfbizUtil.js b/themes/common-theme/webapp/common/js/util/OfbizUtil.js
index a81f9a2..c96ddb7 100644
--- a/themes/common-theme/webapp/common/js/util/OfbizUtil.js
+++ b/themes/common-theme/webapp/common/js/util/OfbizUtil.js
@@ -65,9 +65,8 @@ $(document).ready(function() {
                     // fadeout info-overlay labels
                     $this.off();
                     var container = $this.closest(".info-container");
-                    container.find(".info-content").contents().unwrap();
                     container.contents().unwrap();
-                    $this.closest(".info-overlay").remove();
+                    $this.remove();
                 });
             }, (200 * ++count) + 5000);