Avoid <a> links redirections on inlinedForm

Fixes #647 (IE 11)
This commit is contained in:
Maxime Quandalle 2016-07-20 11:33:51 +02:00
parent 9d3271b731
commit 3ed00f3db7
No known key found for this signature in database
GPG key ID: 428641C03D29CA10

View file

@ -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);