Don't reload the page after sending private link to email address

This commit is contained in:
Michael Gapczynski 2012-07-01 11:53:29 -04:00
parent ffadbfcef3
commit bf93dd4661
1 changed files with 2 additions and 1 deletions

View File

@ -360,7 +360,8 @@ $(document).ready(function() {
$(this).select();
});
$('#emailPrivateLink').live('submit', function() {
$('#emailPrivateLink').live('submit', function(event) {
event.preventDefault();
OC.Share.emailPrivateLink();
});
});