Merge pull request #2503 from nextcloud/fix-1764-enter-on-share-mail-input

Send the share link by mail on pressing enter instead of reloading th…
This commit is contained in:
Christoph Wurst 2016-12-05 15:10:32 +01:00 committed by GitHub
commit e4550006d2
1 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,8 @@
showLink: true,
events: {
'click #emailButton': '_onEmailPrivateLink'
'click #emailButton': '_onEmailPrivateLink',
'submit #emailPrivateLink': '_onEmailPrivateLink'
},
initialize: function(options) {