Changeset 2158
- Timestamp:
- Apr 7, 2006, 3:58:21 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/filemanager/directories/list_directories.jsp
r2115 r2158 103 103 %> 104 104 <base:page title="<%=requestTitle != null ? requestTitle : ""%>" type="popup"> 105 <base:head scripts="newjoust.js " styles="newjoust.css">105 <base:head scripts="newjoust.js,table.js" styles="newjoust.css,toolbar.css"> 106 106 <script language="JavaScript"> 107 107 function initialise() … … 141 141 { 142 142 %> 143 var lastDirectoryId; 143 144 function directoryOnClick(directoryId, path) 144 145 { … … 146 147 frm.directory_id.value = directoryId; 147 148 frm.path.value = path; 149 lastDirectoryId = directoryId; 148 150 } 149 151 function returnSelected() … … 152 154 top.window.opener.<%=callback%>(frm.directory_id.value, frm.path.value); 153 155 top.window.close(); 156 } 157 function newDirectory() 158 { 159 Main.openPopup('../directories/index.jsp?ID=<%=ID%>&cmd=NewItem&parent_id='+lastDirectoryId, 'NewDirectory', 450, 340); 154 160 } 155 161 <% … … 184 190 <div id="main" class="joust" style="width:100%;"> 185 191 <h3 class="docked"><%=requestTitle == null ? "Select one directory" : requestTitle%></h3> 186 <div id="joust" class="boxed" style="height: <%=(int)(scale*360)%>px; overflow:auto; background: #E0E0E0;"> 192 <tbl:toolbar> 193 <tbl:button 194 image="new.gif" 195 onclick="newDirectory()" 196 title="New…" 197 tooltip="Create a new directory" 198 /> 199 </tbl:toolbar> 200 <div id="joust" class="boxedbottom" style="height: <%=(int)(scale*340)%>px; overflow:auto; background: #E0E0E0;"> 187 201 </div> 188 202 </div>
Note: See TracChangeset
for help on using the changeset viewer.