Changeset c628dcd4 in Klonkt for src/assets/js/guardian.js
- Timestamp:
- 07/28/2026 06:43:39 AM (6 weeks ago)
- Branches:
- main
- Children:
- 6bc2e31b
- Parents:
- de89079
- File:
-
- 1 edited
-
src/assets/js/guardian.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/assets/js/guardian.js
rde89079 rc628dcd4 118 118 row.appendChild(wave); 119 119 var btn = el('button', 'quiet small', T.release); 120 btn.addEventListener('click', function () { remove(w.other_uri, btn); }); 120 // Releasing a ward is heavy and hard to undo (coming back needs a fresh 121 // offer the ward accepts), so it asks first and spells out what changes. 122 btn.addEventListener('click', function () { 123 var who = handleOf(w.other_uri, w.other_handle); 124 var msg = (T.release_confirm || 'Release {who}?').replace('{who}', who); 125 if (window.confirm(msg)) remove(w.other_uri, btn); 126 }); 121 127 row.appendChild(btn); 122 128 card.appendChild(row);
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)