diff options
Diffstat (limited to 'client')
-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); |