mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Change upload routine, add upload popup
This commit is contained in:
parent
6cdd464f54
commit
93337c20f8
5 changed files with 56 additions and 13 deletions
|
|
@ -49,7 +49,7 @@ window.Popup = new (class {
|
|||
// has one. This allows us to position a sub-popup exactly at the same
|
||||
// position than its parent.
|
||||
let openerElement;
|
||||
if (clickFromPopup(evt)) {
|
||||
if (clickFromPopup(evt) && self._getTopStack()) {
|
||||
openerElement = self._getTopStack().openerElement;
|
||||
} else {
|
||||
self._stack = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue