Fixed: showHelp not working (OFBIZ-11803)

Fixed Navigation tree is not displayed in showHelp page.
This commit is contained in:
James Yong
2020-06-06 19:49:26 +08:00
parent 5e63e81d08
commit 4e563a67ff
2 changed files with 8 additions and 2 deletions
@@ -16,8 +16,8 @@
specific language governing permissions and limitations
under the License.
-->
<script type="application/javascript" src="<@ofbizContentUrl>/common/js/jquery/plugins/jsTree/jquery.jstree.js</@ofbizContentUrl>"></script>
<script data-import="head" type="application/javascript" src="/common/js/util/OfbizUtil.js"></script>
<script data-import="head" type="application/javascript" src="/common/js/jquery/plugins/jsTree/jquery.jstree.js"></script>
<script type="application/javascript">
<#-- some labels are not unescaped in the JSON object so we have to do this manuely -->
+6
View File
@@ -37,6 +37,12 @@ under the License.
<screen name="ShowHelp">
<section>
<actions>
<set field="layoutSettings.javaScripts[]" value="/common/js/jquery/jquery-3.4.1.min.js" global="true"/>
<set field="layoutSettings.javaScripts[]" value="/common/js/jquery/jquery-migrate-3.0.0.min.js" global="true"/>
<set field="layoutSettings.javaScripts[]" value="/common/js/jquery/plugins/browser-plugin/jquery.browser-0.1.0.min.js" global="true"/>
<set field="layoutSettings.javaScripts[]" value="/common/js/jquery/ui/jquery-ui-1.12.1.min.js" global="true"/>
</actions>
<widgets>
<include-screen name="MinimalActions" location="component://common/widget/CommonScreens.xml"/>
<include-screen name="ShowHelp" location="${groovy:commonScreenLocations.ShowHelp?commonScreenLocations.ShowHelp:commonDecoratorLocation}"/>