diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-08-06 20:29:35 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-08-06 20:29:35 +0200 |
commit | 909d6220cadbd311ece4a1930efd8221a13386e6 (patch) | |
tree | abe2fbeac0ee1c9cd3b096ea0663ade477bc291b | |
parent | Fix popup when creating and deleting in week. (diff) | |
download | calp-909d6220cadbd311ece4a1930efd8221a13386e6.tar.gz calp-909d6220cadbd311ece4a1930efd8221a13386e6.tar.xz |
Fix popup error on long event creation.
-rw-r--r-- | static/script.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/script.js b/static/script.js index db5b818e..23041df9 100644 --- a/static/script.js +++ b/static/script.js @@ -472,7 +472,7 @@ window.onload = function () { ); c.onmouseup = eventCreator.create_event_finisher( function (event) { - let popupElement = event.querySelector(".popup-container"); + let popupElement = document.getElementById("popup" + event.id); open_popup(popupElement); popupElement.querySelector("input[name='dtstart']").focus(); |