mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX Fixed draggable bug in AssetTableField - thanks for ajshort for the patch - ticket #3051
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66194 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
8bc9fa1723
commit
c9bc8c41c7
@ -228,7 +228,7 @@ DragFileItem.prototype = {
|
|||||||
this.draggable = null;
|
this.draggable = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
DragFileItem.applyTo('#Form_EditForm_Files tr .dragfile');
|
DragFileItem.applyTo('#Form_EditForm_Files tr td .dragfile');
|
||||||
|
|
||||||
// Set up folder drop target
|
// Set up folder drop target
|
||||||
DropFileItem = Class.create();
|
DropFileItem = Class.create();
|
||||||
|
@ -18,9 +18,11 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<% control Items %>
|
<% control Items %>
|
||||||
<tr id="record-$Parent.Name-$ID">
|
<tr id="record-$Parent.Name-$ID">
|
||||||
<td class="dragfile" id="drag-$Parent.Name-$ID">
|
<td>
|
||||||
|
<div class="dragfile" id="drag-$Parent.Name-$ID">
|
||||||
<img id="drag-img-$Parent.Name-$ID" alt="Drag" title="<% _t('DRAGTOFOLDER','Drag to folder on left to move file') %>" src="sapphire/images/drag.gif" />
|
<img id="drag-img-$Parent.Name-$ID" alt="Drag" title="<% _t('DRAGTOFOLDER','Drag to folder on left to move file') %>" src="sapphire/images/drag.gif" />
|
||||||
</div>
|
</div>
|
||||||
|
</td>
|
||||||
<% if Markable %><td class="markingcheckbox">$MarkingCheckbox</td><% end_if %>
|
<% if Markable %><td class="markingcheckbox">$MarkingCheckbox</td><% end_if %>
|
||||||
<% control Fields %>
|
<% control Fields %>
|
||||||
<td>$Value</td>
|
<td>$Value</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user