Added placeholder msg to share with menu to clarify user list restricted to security context

This commit is contained in:
Sam Tuke 2012-06-25 16:57:41 +01:00
parent 9bb409d881
commit 380f41136c
2 changed files with 2 additions and 1 deletions

View File

@ -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; }

View File

@ -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>';