diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_doCreateJavaScriptStatus.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_doCreateJavaScriptStatus.xml
index b7d580902d45b70ff724fafb144c03675764a505..f4e84c7a70b5f0d0dc31efe210ebe1c27a0ec67e 100644
--- a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_doCreateJavaScriptStatus.xml
+++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_doCreateJavaScriptStatus.xml
@@ -154,8 +154,7 @@ print \'\'\'\n
         }\n
       }\n
       if(popup==1){\n
-        //TODO\n
-        filesPartiallyCheckedArray=[];\n
+        filesPartiallyCheckedArray=tree.getAllParentsIds(tree.getSelectedItemId()).split(\',\');\n
       }else{\n
         filesPartiallyCheckedArray=tree.getAllPartiallyChecked().split(\',\');\n
       }\n
diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/js/dhtmlXTree.js.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/js/dhtmlXTree.js.xml
index 7ad219c2d540f2cd1cd0b3c689d7470998b90dcf..1d2a56a5d10ffa008cbc6bb975b80bc54e8b5322 100644
--- a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/js/dhtmlXTree.js.xml
+++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/js/dhtmlXTree.js.xml
@@ -14,7 +14,7 @@
       <dictionary>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts44161193.89</string> </value>
+            <value> <string>ts45870562.28</string> </value>
         </item>
         <item>
             <key> <string>__ac_local_roles__</string> </key>
@@ -34,9 +34,6 @@
             <key> <string>data</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
- \n
-\n
- \n
 function dhtmlXTreeObject(htmlObject,width,height,rootId){\n
  if(typeof(htmlObject)!="object")\n
  this.parentObject=document.getElementById(htmlObject);\n
@@ -1023,8 +1020,19 @@ dhtmlXTreeObject.prototype._correctCheckStates=function(dhtmlObject){\n
  return temp.parentObject.id;\n
 };\n
 \n
+ dhtmlXTreeObject.prototype.getAllParentsIds=function(itemId)\n
+{\n
+ var temp=this._globalIdStorageFind(itemId);\n
+ if((!temp)||(!temp.parentObject))return "";\n
+ return this._getAllParentsIds(temp.parentObject.id, temp.parentObject.id);\n
+};\n
 \n
-\n
+ dhtmlXTreeObject.prototype._getAllParentsIds=function(itemId, id_list)\n
+{\n
+ var temp=this._globalIdStorageFind(itemId);\n
+ if((!temp)||(!temp.parentObject))return id_list;\n
+ return this._getAllParentsIds(temp.parentObject.id, id_list+\',\'+temp.parentObject.id);\n
+};\n
  \n
  dhtmlXTreeObject.prototype.changeItemId=function(itemId,newItemId)\n
 {\n
@@ -1987,16 +1995,6 @@ dhtmlXTreeObject.prototype._getPrevNode=function(node,mode){\n
  return node.parentObject;\n
  else return -1;\n
 };\n
-\n
- \n
-\n
-\n
-\n
-\n
- \n
-\n
-\n
-\n
 
 
 ]]></string> </value>
@@ -2007,7 +2005,7 @@ dhtmlXTreeObject.prototype._getPrevNode=function(node,mode){\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <int>52800</int> </value>
+            <value> <int>53275</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>