diff --git a/core/modules/widgets/dropzone.js b/core/modules/widgets/dropzone.js index f86ecc9f7..2947e46a8 100644 --- a/core/modules/widgets/dropzone.js +++ b/core/modules/widgets/dropzone.js @@ -106,7 +106,7 @@ DropZoneWidget.prototype.importData = function(dataTransfer) { if(data !== "") { var tiddlerFields = dataType.convertToFields(data); if(!tiddlerFields.title) { - tiddlerFields.title = this.generateTitle("Untitled"); + tiddlerFields.title = this.wiki.generateNewTitle("Untitled"); } this.dispatchEvent({type: "tw-import-tiddlers", param: JSON.stringify([tiddlerFields])}); return;