summaryrefslogtreecommitdiffstats
path: root/client/lib
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-10-29 23:08:27 +0100
committerMaxime Quandalle <maxime@quandalle.com>2015-10-29 23:17:21 +0100
commitdd3cdf3945b26c70b00b5c9c1dd13c74eaed2f8b (patch)
tree3ba21510a19a09a5b50c0522caf74e0cd21c0e93 /client/lib
parente92f67f1910a0a3bc40b85436a89e7d55a04a615 (diff)
downloadwekan-dd3cdf3945b26c70b00b5c9c1dd13c74eaed2f8b.tar.gz
wekan-dd3cdf3945b26c70b00b5c9c1dd13c74eaed2f8b.tar.bz2
wekan-dd3cdf3945b26c70b00b5c9c1dd13c74eaed2f8b.zip
Fix some bugs introduced in aa974aa
Yes Wekan need some tests. Yes I need to stop refactoring my code when I’m halp-sleeping in my bed at 4am.
Diffstat (limited to 'client/lib')
-rw-r--r--client/lib/modal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/lib/modal.js b/client/lib/modal.js
index 7b7516e0..e6301cb5 100644
--- a/client/lib/modal.js
+++ b/client/lib/modal.js
@@ -21,7 +21,7 @@ window.Modal = new class {
}
}
- open(modalName, { onCloseGoTo = ''}) {
+ open(modalName, { onCloseGoTo = ''} = {}) {
this._currentModal.set(modalName);
this._onCloseGoTo = onCloseGoTo;
}