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.
This commit is contained in:
Maxime Quandalle 2015-10-29 23:08:27 +01:00
parent e92f67f191
commit dd3cdf3945
4 changed files with 8 additions and 6 deletions

View file

@ -21,7 +21,7 @@ window.Modal = new class {
}
}
open(modalName, { onCloseGoTo = ''}) {
open(modalName, { onCloseGoTo = ''} = {}) {
this._currentModal.set(modalName);
this._onCloseGoTo = onCloseGoTo;
}