Changeset 38248 for main/trunk/greenstone3
- Timestamp:
- 2023-09-28T15:43:34+13:00 (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/js/user_comments.js
r38238 r38248 213 213 deleteCheckBox.setAttribute("class", "del-me-comment"); 214 214 deleteCheckBox.setAttribute("data-metapos", metapos); 215 deleteCheckBox.setAttribute("data-username", username);216 deleteCheckBox.setAttribute("data-timestamp", timestamp);217 deleteCheckBox.setAttribute("data-comment", comment);215 //deleteCheckBox.setAttribute("data-username", username); 216 //deleteCheckBox.setAttribute("data-timestamp", timestamp); 217 //deleteCheckBox.setAttribute("data-comment", comment); 218 218 divgroup.appendChild(deleteCheckBox); 219 219 } … … 267 267 } 268 268 269 //document.querySelectorAll('input[class=del-me-comment][type=checkbox]:checked').forEach(elem => console.log(elem.getAttribute('data- username')));269 //document.querySelectorAll('input[class=del-me-comment][type=checkbox]:checked').forEach(elem => console.log(elem.getAttribute('data-metapos'))); 270 270 271 271 var metadataPositions = [];
Note:
See TracChangeset
for help on using the changeset viewer.