Fixed preview URL + size while dragging an existing file
This commit is contained in:
parent
e62ca4ea4f
commit
efbd79198b
|
@ -320,8 +320,9 @@ table.dragshadow {
|
|||
width:auto;
|
||||
}
|
||||
table.dragshadow td.filename {
|
||||
padding-left:36px;
|
||||
padding-left:60px;
|
||||
padding-right:16px;
|
||||
height: 36px;
|
||||
}
|
||||
table.dragshadow td.size {
|
||||
padding-right:8px;
|
||||
|
|
|
@ -480,7 +480,7 @@ var createDragShadow = function(event) {
|
|||
//options for file drag/drop
|
||||
var dragOptions={
|
||||
revert: 'invalid', revertDuration: 300,
|
||||
opacity: 0.7, zIndex: 100, appendTo: 'body', cursorAt: { left: -5, top: -5 },
|
||||
opacity: 0.7, zIndex: 100, appendTo: 'body', cursorAt: { left: 24, top: 18 },
|
||||
helper: createDragShadow, cursor: 'move',
|
||||
stop: function(event, ui) {
|
||||
$('#fileList tr td.filename').addClass('ui-draggable');
|
||||
|
@ -626,7 +626,8 @@ function getSelectedFilesTrash(property) {
|
|||
name:$(element).attr('data-file'),
|
||||
mime:$(element).data('mime'),
|
||||
type:$(element).data('type'),
|
||||
size:$(element).data('size')
|
||||
size:$(element).data('size'),
|
||||
etag:$(element).data('etag')
|
||||
};
|
||||
if (property) {
|
||||
files.push(file[property]);
|
||||
|
|
Loading…
Reference in New Issue