Fix problem with importing using wrong import tiddler name

print-window-tiddler
Jermolene 2015-08-01 13:48:46 +01:00
rodzic 3b321b5d26
commit cd29eed067
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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"});
};