From d32e3870d21c8a65e822212505213755a338e97a Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Thu, 26 Mar 2015 18:30:55 +0100 Subject: [PATCH] add hint in Share placeholder on remote share syntax --- core/js/share.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/js/share.js b/core/js/share.js index 061ac6affa2..551e1bf09ab 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -391,8 +391,13 @@ OC.Share={ } }); + var sharePlaceholder = t('core', 'Share with users or groups …'); + if(oc_appconfig.core.remoteShareAllowed) { + sharePlaceholder = t('core', 'Share with users, groups or remote (user@domain) …'); + } + html += ''; - html += ''; + html += ''; html += ''; html += ''; -- 2.39.5