summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-12-16 11:06:29 +0200
committerLauri Ojansivu <x@xet7.org>2018-12-16 11:06:29 +0200
commit3e5ff42474da489c21e4f8beb6f55a26a0a02bb3 (patch)
tree81e74962f2d479c4e2a7635efc60fffecdb56b3e /client
parent9366eaf374b4f06aafdab6443b0661ca53e226d0 (diff)
downloadwekan-3e5ff42474da489c21e4f8beb6f55a26a0a02bb3.tar.gz
wekan-3e5ff42474da489c21e4f8beb6f55a26a0a02bb3.tar.bz2
wekan-3e5ff42474da489c21e4f8beb6f55a26a0a02bb3.zip
- Fix [Popup class declares member name _current but use current instead](https://github.com/wekan/wekan/issues/2059).
Thanks to peishaofeng ! Closes #2059
Diffstat (limited to 'client')
-rw-r--r--client/lib/popup.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/lib/popup.js b/client/lib/popup.js
index 0a700f82..516ce849 100644
--- a/client/lib/popup.js
+++ b/client/lib/popup.js
@@ -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