1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Draggable: properly stringify tiddler titles

Thanks @twMat
This commit is contained in:
Jermolene 2017-03-20 22:01:51 +00:00
parent 3197f9a639
commit 9bad99d14e

View File

@ -69,7 +69,7 @@ DraggableWidget.prototype.handleDragStartEvent = function(event) {
if(this.draggableFilter) {
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]) {
$tw.dragInProgress = this.domNodes[0];
// Set the dragging class on the element being dragged