mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Draggable: properly stringify tiddler titles
Thanks @twMat
This commit is contained in:
parent
3197f9a639
commit
9bad99d14e
@ -69,7 +69,7 @@ DraggableWidget.prototype.handleDragStartEvent = function(event) {
|
|||||||
if(this.draggableFilter) {
|
if(this.draggableFilter) {
|
||||||
titles.push.apply(titles,this.wiki.filterTiddlers(this.draggableFilter,this));
|
titles.push.apply(titles,this.wiki.filterTiddlers(this.draggableFilter,this));
|
||||||
}
|
}
|
||||||
var titleString = titles.join("\n");
|
var titleString = $tw.utils.stringifyList(titles);
|
||||||
if(titles.length > 0 && event.target === this.domNodes[0]) {
|
if(titles.length > 0 && event.target === this.domNodes[0]) {
|
||||||
$tw.dragInProgress = this.domNodes[0];
|
$tw.dragInProgress = this.domNodes[0];
|
||||||
// Set the dragging class on the element being dragged
|
// Set the dragging class on the element being dragged
|
||||||
|
Loading…
Reference in New Issue
Block a user