Revision: 3977
Author:   seba.wagner
Date:     Thu Jul  7 06:49:02 2011
Log:      Fix some issue with explorer folder creation process
http://code.google.com/p/openmeetings/source/detail?r=3977

Modified:
/trunk/singlewebapp/WebContent/openmeetings/plugins/fileexplorer/treeitems/baseFileExplorerItem.lzx

=======================================
--- /trunk/singlewebapp/WebContent/openmeetings/plugins/fileexplorer/treeitems/baseFileExplorerItem.lzx Thu Jul 7 05:23:20 2011 +++ /trunk/singlewebapp/WebContent/openmeetings/plugins/fileexplorer/treeitems/baseFileExplorerItem.lzx Thu Jul 7 06:49:02 2011
@@ -180,17 +180,19 @@
                if (this.isFolder) {
                        if ($debug) Debug.write("NEW this.fileExplorerItemId INTO 
",this);
if ($debug) Debug.write("NEW this.fileExplorerItemId ",this.fileExplorerItemId);
-                       this.icon_folder_pre.setAttribute("frame",2);
-            this.content.setAttribute("visibility","visible");
-            this._folderIcon.setAttribute("frame",2);
-               var t = new lz.folderFileExplorerItem(this.content,{
-                                   isOwner:this.isOwner,
-                                   isFolder:true,
-                                   fileIcon:'icon_folder_rsc',
-                            refObjListRoot:this.refObjListRoot,
-                                   fileName:canvas.getLabelName(712)
-                               });
-            t.addOrUpdateFolderName(this.fileExplorerItemId,true);
+                       if (this["icon_folder_pre"]) {
+                       this.icon_folder_pre.setAttribute("frame",2);
+                this.content.setAttribute("visibility","visible");
+                this._folderIcon.setAttribute("frame",2);
+                       var t = new lz.folderFileExplorerItem(this.content,{
+                                           isOwner:this.isOwner,
+                                           isFolder:true,
+                                   fileIcon:'icon_folder_rsc',
+                                refObjListRoot:this.refObjListRoot,
+                                   fileName:canvas.getLabelName(712)
+                               });
+                t.addOrUpdateFolderName(this.fileExplorerItemId,true);
+                       }
                }
        </method>

--
You received this message because you are subscribed to the Google Groups 
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/openmeetings-dev?hl=en.

Reply via email to