diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-03-07 17:10:46 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-03-07 17:10:46 +0100 |
commit | 3ef4131533f0fd2c06b05fd2e893d5c4f9720063 (patch) | |
tree | 8bc047f1e18ccce862eea54bafb4dcd616bcd452 | |
parent | e1ec4514ccc8550d174cb63df53a361e96f749f8 (diff) | |
download | nextcloud-server-3ef4131533f0fd2c06b05fd2e893d5c4f9720063.tar.gz nextcloud-server-3ef4131533f0fd2c06b05fd2e893d5c4f9720063.zip |
Fixed event propagation on safari
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r-- | apps/files/js/newfilemenu.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files/js/newfilemenu.js b/apps/files/js/newfilemenu.js index cbe9ced8af4..a340b8b6218 100644 --- a/apps/files/js/newfilemenu.js +++ b/apps/files/js/newfilemenu.js @@ -172,7 +172,9 @@ } }); - $submit.click(function(){ + $submit.click(function(event) { + event.stopPropagation(); + event.preventDefault(); $form.submit(); }); |