Changeset 6369 for trunk/prototype/modules/calendar/templates/event_add.ejs
- Timestamp:
- 05/31/12 18:24:52 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/calendar/templates/event_add.ejs
r6331 r6369 161 161 162 162 <fieldset class="attachment-list hidden"> 163 <%if(data.event && data.event.attachments){ 164 for (var i=0; i< data.event.attachments.length; i++) {%> 165 <input type="hidden" name="fileId[]" value="<%=data.event.attachments[i].id%>"/> 166 <%} 167 }%> 163 168 </fieldset> 164 169 </form> … … 166 171 <div class="overflow_add_calender"> 167 172 <fieldset id="calendar_addevent_details5" class="tab-level2"> 168 173 <form id="fileupload" action="attachment:detail" method="POST"> 169 174 <!-- The fileupload-buttonbar contains buttons to add/delete files and start/cancel the upload --> 170 175 <div class="row fileupload-buttonbar"> … … 183 188 <%}%> 184 189 </div> 185 190 <div id="fileupload-progress"></div> 186 191 <div class="files-list"> 187 192 <ul class="attachments-list"> … … 197 202 <a href="../prototype/getArchive.php?attachment=<%=data.event.attachments[i].id%>" class="button tiny upload downlaod-archive">Download</a> 198 203 <%if(data.event.acl.organization || data.event.acl.write){%> 199 <span class="button close tiny upload delete-upload" title="Deletar">Deletar</span>204 <span class="button close tiny upload edit delete-upload" title="Deletar">Deletar</span> 200 205 <%}%> 201 206 <input type="hidden" name="fileId[]" value="<%=data.event.attachments[i].id%>"/>
Note: See TracChangeset
for help on using the changeset viewer.