Revert "[fix] Center Share Dropdown & Versions Dropdown"

This reverts commit 1dbbfcf3dc.
This commit is contained in:
zombiehugs 2013-12-03 08:23:13 -06:00
parent 1dbbfcf3dc
commit 519f63ee97
3 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ $(document).ready(function() {
var itemType = 'file';
}
var possiblePermissions = $(tr).data('permissions');
var appendTo = $(tr).find('.name');
var appendTo = $(tr).find('td.filename');
// Check if drop down is already visible for a different file
if (OC.Share.droppedDown) {
if ($(tr).data('id') != $('#dropdown').attr('data-item-source')) {

View File

@ -87,7 +87,7 @@ function createVersionsDropdown(filename, files) {
if (filename) {
$('tr').filterAttr('data-file',filename).addClass('mouseOver');
$(html).appendTo($('tr').filterAttr('data-file',filename).find('.name'));
$(html).appendTo($('tr').filterAttr('data-file',filename).find('td.filename'));
} else {
$(html).appendTo($('thead .share'));
}

View File

@ -8,9 +8,9 @@
border-bottom-right-radius: 5px;
box-shadow:0 1px 1px #777;
display:block;
margin-right:7em;
position:absolute;
right:0;
top: 3.2em;
width:25em;
z-index:500;
padding:1em;