summaryrefslogtreecommitdiffstats
path: root/client/lib/inlinedform.js
diff options
context:
space:
mode:
authorMaxime Quandalle <mquandalle@wekan.io>2016-07-20 11:33:51 +0200
committerMaxime Quandalle <mquandalle@wekan.io>2016-07-20 11:33:51 +0200
commit3ed00f3db742c747a6966c50793b15bddc88db32 (patch)
treebf663f648ddedd5554295edb234085e391d341c7 /client/lib/inlinedform.js
parent9d3271b7319979aee97c9bea091bbd6bcf019661 (diff)
downloadwekan-3ed00f3db742c747a6966c50793b15bddc88db32.tar.gz
wekan-3ed00f3db742c747a6966c50793b15bddc88db32.tar.bz2
wekan-3ed00f3db742c747a6966c50793b15bddc88db32.zip
Avoid <a> links redirections on inlinedForm
Fixes #647 (IE 11)
Diffstat (limited to 'client/lib/inlinedform.js')
-rw-r--r--client/lib/inlinedform.js4
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);