mirror of
https://github.com/wekan/wekan.git
synced 2025-12-24 03:10:12 +01:00
- Fix [Popup class declares member name _current but use current instead](https://github.com/wekan/wekan/issues/2059).
Thanks to peishaofeng ! Closes #2059
This commit is contained in:
parent
9366eaf374
commit
3e5ff42474
1 changed files with 2 additions and 2 deletions
|
|
@ -4,9 +4,9 @@ window.Popup = new class {
|
|||
this.template = Template.popup;
|
||||
|
||||
// We only want to display one popup at a time and we keep the view object
|
||||
// in this `Popup._current` variable. If there is no popup currently opened
|
||||
// in this `Popup.current` variable. If there is no popup currently opened
|
||||
// the value is `null`.
|
||||
this._current = null;
|
||||
this.current = null;
|
||||
|
||||
// It's possible to open a sub-popup B from a popup A. In that case we keep
|
||||
// the data of popup A so we can return back to it. Every time we open a new
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue