Skip to content

Commit

Permalink
Avoid <a> links redirections on inlinedForm
Browse files Browse the repository at this point in the history
Fixes wekan#647 (IE 11)
  • Loading branch information
Maxime Quandalle committed Jul 20, 2016
1 parent 9d3271b commit 3ed00f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/lib/inlinedform.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3ed00f3

Please sign in to comment.