diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-07-01 11:53:29 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-07-01 11:53:29 -0400 |
commit | bf93dd4661445560a62281284132e23cd48e9839 (patch) | |
tree | 53a40ea2d5b8c71cccfe38acf6cf09922fef52b0 | |
parent | ffadbfcef31da78f824161652c9c18aeb57f502d (diff) | |
download | nextcloud-server-bf93dd4661445560a62281284132e23cd48e9839.tar.gz nextcloud-server-bf93dd4661445560a62281284132e23cd48e9839.zip |
Don't reload the page after sending private link to email address
-rw-r--r-- | apps/files_sharing/js/share.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js index 96c9017dbf9..afe31a75d0b 100644 --- a/apps/files_sharing/js/share.js +++ b/apps/files_sharing/js/share.js @@ -360,7 +360,8 @@ $(document).ready(function() { $(this).select(); }); - $('#emailPrivateLink').live('submit', function() { + $('#emailPrivateLink').live('submit', function(event) { + event.preventDefault(); OC.Share.emailPrivateLink(); }); });
\ No newline at end of file |