@ -713,7 +713,10 @@ define([
}
nThen(function (waitFor) {
var content = fi(c, f);
if (typeof(content) === "undefined") { return; }
if (typeof(content) === "undefined") {
Messages.importError = "Failed to import (wrong format)"; // XXX
return void UI.warn(Messages.importError);
contentUpdate(content, waitFor);
}).nThen(function () {
onLocal();