diff --git a/core/css/share.css b/core/css/share.css index 0859c19585..314c6140d7 100644 --- a/core/css/share.css +++ b/core/css/share.css @@ -35,6 +35,8 @@ #shareWithList label input[type=checkbox]{ margin-left: 0; + top: 3px; + position: relative; } #shareWithList .username{ padding-right: 8px; diff --git a/core/js/share.js b/core/js/share.js index e164602d0a..1c59524939 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -569,6 +569,9 @@ OC.Share={ } html += ' '; } + if (possiblePermissions & OC.PERMISSION_SHARE) { + html += ''; + } if (possiblePermissions & OC.PERMISSION_CREATE || possiblePermissions & OC.PERMISSION_UPDATE || possiblePermissions & OC.PERMISSION_DELETE) { html += ' '; } @@ -583,9 +586,6 @@ OC.Share={ if (possiblePermissions & OC.PERMISSION_DELETE) { html += ''; } - if (possiblePermissions & OC.PERMISSION_SHARE) { - html += ''; - } html += ''; html += ''; html = $(html).appendTo('#shareWithList');