]> source.dussan.org Git - nextcloud-server.git/commitdiff
Send the share link by mail on pressing enter instead of reloading the page 2503/head
authorJoas Schilling <coding@schilljs.com>
Mon, 5 Dec 2016 10:26:53 +0000 (11:26 +0100)
committerJoas Schilling <coding@schilljs.com>
Mon, 5 Dec 2016 10:26:53 +0000 (11:26 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
core/js/sharedialogmailview.js

index df919f1feb961144b117c96dfa0ff7bc97de1e9f..17a2d31341f30380b71305a2ce92ab0b1967a199 100644 (file)
@@ -48,7 +48,8 @@
                showLink: true,
 
                events: {
-                       'click #emailButton': '_onEmailPrivateLink'
+                       'click #emailButton': '_onEmailPrivateLink',
+                       'submit #emailPrivateLink': '_onEmailPrivateLink'
                },
 
                initialize: function(options) {