mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 00:50:28 +00:00
Fix problem with importing using wrong import tiddler name
This commit is contained in:
parent
3b321b5d26
commit
cd29eed067
@ -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"});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user