diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-01-13 00:27:27 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-01-13 00:27:27 +0100 |
commit | a8ed46674cb879fffb82045f7243eca63e59888d (patch) | |
tree | bdeca228034aff953702523df6fc8e434967093c /module/c | |
parent | Fix fallback js .format (diff) | |
download | calp-a8ed46674cb879fffb82045f7243eca63e59888d.tar.gz calp-a8ed46674cb879fffb82045f7243eca63e59888d.tar.xz |
Start using event_from_popup everywhere.
Diffstat (limited to '')
-rw-r--r-- | module/calp/html/vcomponent.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/calp/html/vcomponent.scm b/module/calp/html/vcomponent.scm index 5d10c996..6ebe23b9 100644 --- a/module/calp/html/vcomponent.scm +++ b/module/calp/html/vcomponent.scm @@ -531,10 +531,10 @@ (list (btn "🖊️" title: "Redigera" - onclick: "place_in_edit_mode(document.getElementById(this.closest('.popup-container').id.substr(5)))") + onclick: "place_in_edit_mode(event_from_popup(this.closest('.popup-container')))") (btn "🗑" title: "Ta bort" - onclick: "remove_event(document.getElementById(this.closest('.popup-container').id.substr(5)))")))) + onclick: "remove_event(event_from_popup(this.closest('.popup-container')))")))) ,(tabset `(("📅" title: "Översikt" |