diff options
author | Björn Schießle <schiessle@owncloud.com> | 2012-09-20 10:31:23 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2012-09-20 10:31:23 +0200 |
commit | b1c60841e8c4719ccc04709eba26714a49f600a1 (patch) | |
tree | b0e15ef865c4424b5df71d2e187d9960af0a5c09 /core/js | |
parent | 7c42e8867699f671edf7dd55de2ce100a182408f (diff) | |
download | nextcloud-server-b1c60841e8c4719ccc04709eba26714a49f600a1.tar.gz nextcloud-server-b1c60841e8c4719ccc04709eba26714a49f600a1.zip |
float right element needs to be the first element, otherwise firefox will move it to a new line
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/share.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/share.js b/core/js/share.js index b4ca6892c68..e914c33f352 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -264,6 +264,7 @@ OC.Share={ shareChecked = 'checked="checked"'; } var html = '<li style="clear: both;" data-share-type="'+shareType+'" data-share-with="'+shareWith+'">'; + html += '<a href="#" class="unshare" style="display:none;"><img class="svg" alt="Unshare" src="'+OC.imagePath('core', 'actions/delete')+'"/></a>'; html += shareWith; if (possiblePermissions & OC.PERMISSION_CREATE || possiblePermissions & OC.PERMISSION_UPDATE || possiblePermissions & OC.PERMISSION_DELETE) { if (editChecked == '') { @@ -273,8 +274,7 @@ OC.Share={ } html += '<input type="checkbox" name="edit" class="permissions" '+editChecked+' />can edit</label>'; } - html += '<a href="#" class="showCruds" style="display:none;"><img class="svg" alt="Unshare" src="'+OC.imagePath('core', 'actions/triangle-s')+'"/></a>'; - html += '<a href="#" class="unshare" style="display:none;"><img class="svg" alt="Unshare" src="'+OC.imagePath('core', 'actions/delete')+'"/></a>'; + html += '<a href="#" class="showCruds" style="display:none;"><img class="svg" alt="access control" src="'+OC.imagePath('core', 'actions/triangle-s')+'"/></a>'; html += '<div class="cruds" style="display:none;">'; if (possiblePermissions & OC.PERMISSION_CREATE) { html += '<label><input type="checkbox" name="create" class="permissions" '+createChecked+' data-permissions="'+OC.PERMISSION_CREATE+'" />create</label>'; |