From cd29eed0674c2f00b22e2bdba5a863e0f1e0e6ae Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sat, 1 Aug 2015 13:48:46 +0100 Subject: [PATCH] Fix problem with importing using wrong import tiddler name --- core/modules/widgets/navigator.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/widgets/navigator.js b/core/modules/widgets/navigator.js index 967f06ec7..df2724ec1 100755 --- a/core/modules/widgets/navigator.js +++ b/core/modules/widgets/navigator.js @@ -552,12 +552,12 @@ NavigatorWidget.prototype.handlePerformImportEvent = function(event) { }); // Replace the $:/Import tiddler with an import report this.wiki.addTiddler(new $tw.Tiddler({ - title: IMPORT_TITLE, + title: event.param, text: importReport.join("\n"), "status": "complete" })); // Navigate to the $:/Import tiddler - this.addToHistory([IMPORT_TITLE]); + this.addToHistory([event.param]); // Trigger an autosave $tw.rootWidget.dispatchEvent({type: "tm-auto-save-wiki"}); };