Revert "prevents drag and drop import in same window"

This reverts commit 09afa8297a.
This commit is contained in:
Tobias Beer
2015-02-10 23:33:19 +01:00
parent 09afa8297a
commit 30f2c06c9e
3 changed files with 13 additions and 23 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ LinkWidget.prototype.handleDragStartEvent = function(event) {
}
// Then the data
dataTransfer.clearData();
var jsonData = this.wiki.getTiddlerAsJson(this.to,true),
var jsonData = this.wiki.getTiddlerAsJson(this.to),
textData = this.wiki.getTiddlerText(this.to,""),
title = (new RegExp("^" + $tw.config.textPrimitives.wikiLink + "$","mg")).exec(this.to) ? this.to : "[[" + this.to + "]]";
// IE doesn't like these content types