Changeset 4796


Ignore:
Timestamp:
Mar 2, 2009, 7:58:58 PM (14 years ago)
Author:
Nicklas Nordborg
Message:

References #1241: Implement "lazy loading" of the directory tree

We can display the path even on directories where the current user is lacking read permission.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/filemanager/directories/list_directories.jsp

    r4794 r4796  
    166166      if (currentRoot == null) currentRoot = current;
    167167      %>
    168       var currentRoot = JoustMenu.addMenuItem(-1, 'Folder', '/<i>denied</i>/<%=HTML.javaScriptEncode(currentRoot.getName())%>', 'directoryOnClick(<%=currentRoot.getId()%>, "<%=HTML.javaScriptEncode(currentRoot.getPath().toString())%>")', '', 'D<%=currentRoot.getId()%>');
     168      var currentRoot = JoustMenu.addMenuItem(-1, 'Folder', '<%=HTML.javaScriptEncode(currentRoot.getPath().toString())%>', 'directoryOnClick(<%=currentRoot.getId()%>, "<%=HTML.javaScriptEncode(currentRoot.getPath().toString())%>")', '', 'D<%=currentRoot.getId()%>');
    169169      JoustMenu.menuItems[currentRoot].noOutlineIcon = true;
    170170      JoustMenu.menuItems[currentRoot].isOpen = true;
Note: See TracChangeset for help on using the changeset viewer.