mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX #3051 ajshort: Improved layout of assettablefield drag icon
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66079 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
325ef6fe34
commit
18d735fca1
@ -228,7 +228,7 @@ DragFileItem.prototype = {
|
|||||||
this.draggable = null;
|
this.draggable = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
DragFileItem.applyTo('#Form_EditForm_Files tr td.markingcheckbox div.dragfile');
|
DragFileItem.applyTo('#Form_EditForm_Files tr .dragfile');
|
||||||
|
|
||||||
// Set up folder drop target
|
// Set up folder drop target
|
||||||
DropFileItem = Class.create();
|
DropFileItem = Class.create();
|
||||||
|
@ -6,7 +6,8 @@
|
|||||||
<table class="data">
|
<table class="data">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<% if Markable %><th width="36"> </th><% end_if %>
|
<th width="18"> </th>
|
||||||
|
<% if Markable %><th width="18"> </th><% end_if %>
|
||||||
<% control Headings %>
|
<% control Headings %>
|
||||||
<th class="$Name">$Title</th>
|
<th class="$Name">$Title</th>
|
||||||
<% end_control %>
|
<% end_control %>
|
||||||
@ -17,7 +18,10 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<% control Items %>
|
<% control Items %>
|
||||||
<tr id="record-$Parent.Name-$ID">
|
<tr id="record-$Parent.Name-$ID">
|
||||||
<% if Markable %><td width="36" class="markingcheckbox"><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" /></div> $MarkingCheckbox</td><% end_if %>
|
<td 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" />
|
||||||
|
</div>
|
||||||
|
<% if Markable %><td class="markingcheckbox">$MarkingCheckbox</td><% end_if %>
|
||||||
<% control Fields %>
|
<% control Fields %>
|
||||||
<td>$Value</td>
|
<td>$Value</td>
|
||||||
<% end_control %>
|
<% end_control %>
|
||||||
|
Loading…
Reference in New Issue
Block a user