From 380f41136cf705de2df5101e42d89c9483e2c078 Mon Sep 17 00:00:00 2001 From: Sam Tuke <samtuke@owncloud.com> Date: Mon, 25 Jun 2012 16:57:41 +0100 Subject: [PATCH] Added placeholder msg to share with menu to clarify user list restricted to security context --- apps/files_sharing/css/sharing.css | 1 + apps/files_sharing/js/share.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/files_sharing/css/sharing.css b/apps/files_sharing/css/sharing.css index c4b4540e9d..d4fcf79ee9 100644 --- a/apps/files_sharing/css/sharing.css +++ b/apps/files_sharing/css/sharing.css @@ -12,3 +12,4 @@ a.unshare { float:right; display:inline; margin:0 .5em; padding:.3em .3em 0 .3em a.unshare:hover { opacity:1; } #share_with { width: 16em; } #privateLink label, .edit { font-weight:normal; } +#share_with_chzn { display: block; } diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js index 96c9017dbf..9194d2240a 100644 --- a/apps/files_sharing/js/share.js +++ b/apps/files_sharing/js/share.js @@ -61,7 +61,7 @@ OC.Share={ OC.Share.loadItem(item); var html = '<div id="dropdown" class="drop" data-item="'+item+'">'; html += '<select data-placeholder="User or Group" id="share_with" class="chzen-select">'; - html += '<option value=""></option>'; + html += '<option value="" selected="selected" disabled="disabled">Your groups & members</option>'; html += '</select>'; html += '<div id="sharedWithList">'; html += '<ul id="userList"></ul>'; -- GitLab