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.gitThe following commit(s) were added to refs/heads/trunk by this push:
new 814d95a Fixed: Show border and file name for content rendered from ftl (OFBIZ-12002)
814d95a is described below
commit 814d95afc8ec48cf5ead9e82edefe436a670eaf5
Author: James Yong <
[hidden email]>
AuthorDate: Mon Sep 21 14:45:00 2020 +0800
Fixed: Show border and file name for content rendered from ftl (OFBIZ-12002)
Fixed some other named borders not removed +
Only increase z-index for the border labels
---
themes/common-theme/webapp/common/css/info.css | 2 +-
themes/common-theme/webapp/common/js/util/OfbizUtil.js | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/themes/common-theme/webapp/common/css/info.css b/themes/common-theme/webapp/common/css/info.css
index a861213..217a5f4 100644
--- a/themes/common-theme/webapp/common/css/info.css
+++ b/themes/common-theme/webapp/common/css/info.css
@@ -4,7 +4,6 @@
.info-overlay {
color: rgb(165, 42, 42);
justify-items: center;
- z-index: 10;
border: 2px dashed rgba(236, 198, 48, 0.7);
transition: .5s ease-out;
}
@@ -16,4 +15,5 @@
height: 50%;
background: rgba(255, 213, 70);
border: 2px dashed rgba(236, 198, 48);
+ z-index: 10;
}
diff --git a/themes/common-theme/webapp/common/js/util/OfbizUtil.js b/themes/common-theme/webapp/common/js/util/OfbizUtil.js
index 948e8ca..c59fc35 100644
--- a/themes/common-theme/webapp/common/js/util/OfbizUtil.js
+++ b/themes/common-theme/webapp/common/js/util/OfbizUtil.js
@@ -53,6 +53,7 @@ $(document).ready(function() {
});
}, 3000);
}
+ initNamedBorder();
});
/* bindObservers function contains the code of adding observers and it can be called for specific section as well