mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
Add support dragging to the bottom of a list
This commit is contained in:
parent
9bad99d14e
commit
f4656b0f25
@ -21,7 +21,7 @@ exports.insertbefore = function(source,operator,options) {
|
||||
results.push(title);
|
||||
});
|
||||
var target = options.widget && options.widget.getVariable(operator.suffix || "currentTiddler");
|
||||
if(target && target !== operator.operand) {
|
||||
if(target !== operator.operand) {
|
||||
// Remove the entry from the list if it is present
|
||||
var pos = results.indexOf(operator.operand);
|
||||
if(pos !== -1) {
|
||||
|
@ -20,5 +20,11 @@ caption: {{$:/language/SideBar/Open/Caption}}
|
||||
</$droppable>
|
||||
</div>
|
||||
</$list>
|
||||
|
||||
<$tiddler tiddler="">
|
||||
<$droppable actions=<<drop-actions>>>
|
||||
<div class="tc-droppable-placeholder">
|
||||
|
||||
</div>
|
||||
<$button message="tm-close-all-tiddlers" class="tc-btn-invisible tc-btn-mini"><<lingo Button>></$button>
|
||||
</$droppable>
|
||||
</$tiddler>
|
||||
|
Loading…
Reference in New Issue
Block a user