Last modified by XWikiGuest on 2026/03/11 21:04

From version 7.1
edited by XWikiGuest
on 2026/03/11 20:31
Change comment: There is no comment for this version
To version 8.1
edited by XWikiGuest
on 2026/03/11 20:33
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -78,6 +78,7 @@
78 78  </style>
79 79  
80 80  <div id="ldsf-wrapper">
81 + <button id="ldsf-test-btn" style="background:#df691a;color:#fff;padding:8px 16px;border:none;border-radius:4px;cursor:pointer;margin-bottom:10px;">TEST KLIK</button>
81 81   <div id="ldsf-status">Laden...</div>
82 82   <div id="ldsf-bookmarks"></div>
83 83   <div id="ldsf-viewer-container">
... ... @@ -169,6 +169,11 @@
169 169   .catch(function(err) { document.getElementById('ldsf-status').textContent = 'Fout: ' + err.message; });
170 170  }
171 171  
173 +// Debug test button
174 +document.getElementById('ldsf-test-btn').addEventListener('click', function() {
175 + alert('Klik werkt! archiveMap keys: ' + Object.keys(ldsf_archiveMap).join(','));
176 +});
177 +
172 172  // Load index then bookmarks
173 173  fetch(LDSF_WEBDAV + 'index.json', { headers: { 'Authorization': LDSF_AUTH } })
174 174  .then(function(r) { return r.ok ? r.json() : {}; })