Mercurial > p > roundup > code
comparison website/issues/html/issue.item.html @ 6683:12c5ddf865b1
type-edit invalid change to type-text for file description.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 22 May 2022 20:36:36 -0400 |
| parents | bc95f7431efb |
| children | 63390dcfcfe9 |
comparison
equal
deleted
inserted
replaced
| 6682:0b8d34b64930 | 6683:12c5ddf865b1 |
|---|---|
| 160 <td> | 160 <td> |
| 161 <input type="hidden" name="@link@files" value="file-1"> | 161 <input type="hidden" name="@link@files" value="file-1"> |
| 162 <input type="file" id="file-1@content" name="file-1@content" size="40"> | 162 <input type="file" id="file-1@content" name="file-1@content" size="40"> |
| 163 </td> | 163 </td> |
| 164 <th><label for="file-1@description" i18n:translate="">File Description</label>:</th> | 164 <th><label for="file-1@description" i18n:translate="">File Description</label>:</th> |
| 165 <td colspan=3><input type="edit" class="fileDesc" id="file-1@description" name="file-1@description" size="40"></td> | 165 <td colspan=3><input type="text" class="fileDesc" id="file-1@description" name="file-1@description" size="40"></td> |
| 166 </tr> | 166 </tr> |
| 167 <tr tal:condition="context/is_edit_ok"> | 167 <tr tal:condition="context/is_edit_ok"> |
| 168 <td colspan=4> | 168 <td colspan=4> |
| 169 <textarea readonly id="DropZone" aria-labeledby="DropZone"> | 169 <textarea readonly id="DropZone" aria-labeledby="DropZone"> |
| 170 paste images or drag and drop files here.... | 170 paste images or drag and drop files here.... |
| 296 wrapping multiple descriptions onto one line when | 296 wrapping multiple descriptions onto one line when |
| 297 zoomed out or large display.*/ | 297 zoomed out or large display.*/ |
| 298 br = fileDesc.insertAdjacentElement('afterend', | 298 br = fileDesc.insertAdjacentElement('afterend', |
| 299 document.createElement('br')); | 299 document.createElement('br')); |
| 300 fileDesc=document.createElement('input'); | 300 fileDesc=document.createElement('input'); |
| 301 fileDesc.type="edit"; | 301 fileDesc.type="text"; |
| 302 fileDesc.id="file-" + NextInputNum + "@description"; | 302 fileDesc.id="file-" + NextInputNum + "@description"; |
| 303 fileDesc.name=fileDesc.id | 303 fileDesc.name=fileDesc.id |
| 304 fileDesc.size = 40 | 304 fileDesc.size = 40 |
| 305 fileDesc.classList.add("fileDesc"); | 305 fileDesc.classList.add("fileDesc"); |
| 306 fileDesc=br.insertAdjacentElement('afterend', fileDesc); | 306 fileDesc=br.insertAdjacentElement('afterend', fileDesc); |
