Author: apatel
Date: Sat Aug 16 14:21:28 2014
New Revision: 1618365

URL: http://svn.apache.org/r1618365
Log:
[OFBIZ-5515] Thanks Christian Carlow for reporting the issue and ofbiz.us team 
for the fix. 

Modified:
    ofbiz/trunk/applications/content/webapp/content/content/ContentNav.ftl
    ofbiz/trunk/applications/content/widget/content/ContentScreens.xml

Modified: ofbiz/trunk/applications/content/webapp/content/content/ContentNav.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/content/ContentNav.ftl?rev=1618365&r1=1618364&r2=1618365&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/webapp/content/content/ContentNav.ftl 
(original)
+++ ofbiz/trunk/applications/content/webapp/content/content/ContentNav.ftl Sat 
Aug 16 14:21:28 2014
@@ -24,7 +24,6 @@ function unescapeHtmlText(text) {
     return jQuery('<div />').html(text).text()
 }
 
-jQuery(document).ready(createTree());
 
 <#-- creating the JSON Data -->
 var rawdata = [
@@ -55,6 +54,8 @@ var rawdata = [
         </#macro>
      ];
 
+jQuery(document).ready(createTree());
+
  
<#-------------------------------------------------------------------------------------define
 Requests-->
   var editDocumentTreeUrl = '<@ofbizUrl>/views/EditDocumentTree</@ofbizUrl>';
   var listDocument =  '<@ofbizUrl>/views/ListDocument</@ofbizUrl>';

Modified: ofbiz/trunk/applications/content/widget/content/ContentScreens.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/content/ContentScreens.xml?rev=1618365&r1=1618364&r2=1618365&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/widget/content/ContentScreens.xml 
(original)
+++ ofbiz/trunk/applications/content/widget/content/ContentScreens.xml Sat Aug 
16 14:21:28 2014
@@ -503,7 +503,7 @@ under the License.
                 </entity-and>
             </actions>
             <widgets>
-                <decorator-screen name="LookupDecorator" 
location="component://common/widget/HelpScreens.xml">
+                <decorator-screen name="LookupDecorator" 
location="component://common/widget/CommonScreens.xml">
                     <decorator-section name="body">
                         <section>
                             <widgets>
@@ -543,7 +543,7 @@ under the License.
             <widgets>
                 <section>
                     <widgets>
-                        <decorator-screen name="LookupDecorator" 
location="component://common/widget/HelpScreens.xml">
+                        <decorator-screen name="LookupDecorator" 
location="component://common/widget/CommonScreens.xml">
                             <decorator-section name="body">
                                 <screenlet 
title="${uiLabelMap.PageTitleLookupContent}">
                                     <container style="left-border">


Reply via email to