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 7ceba61413
commit eca2e073f8
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();
});
});