diff options
author | Maxime Quandalle <mquandalle@wekan.io> | 2016-07-20 11:33:51 +0200 |
---|---|---|
committer | Maxime Quandalle <mquandalle@wekan.io> | 2016-07-20 11:33:51 +0200 |
commit | 3ed00f3db742c747a6966c50793b15bddc88db32 (patch) | |
tree | bf663f648ddedd5554295edb234085e391d341c7 | |
parent | 9d3271b7319979aee97c9bea091bbd6bcf019661 (diff) | |
download | wekan-3ed00f3db742c747a6966c50793b15bddc88db32.tar.gz wekan-3ed00f3db742c747a6966c50793b15bddc88db32.tar.bz2 wekan-3ed00f3db742c747a6966c50793b15bddc88db32.zip |
Avoid <a> links redirections on inlinedForm
Fixes #647 (IE 11)
-rw-r--r-- | client/lib/inlinedform.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/lib/inlinedform.js b/client/lib/inlinedform.js index 2732a2e3..bfca3983 100644 --- a/client/lib/inlinedform.js +++ b/client/lib/inlinedform.js @@ -28,7 +28,9 @@ InlinedForm = BlazeComponent.extendComponent({ currentlyOpenedForm.set(null); }, - open() { + open(evt) { + evt.preventDefault(); + // Close currently opened form, if any EscapeActions.executeUpTo('inlinedForm'); this.isOpen.set(true); |