Fix error when importing wrong format

pull/1/head
yflory 4 years ago
parent df8785e79d
commit b7c2858c30

@ -712,7 +712,9 @@ define([
return;
}
nThen(function (waitFor) {
contentUpdate(fi(c, f), waitFor);
var content = fi(c, f);
if (typeof(content) === "undefined") { return; }
contentUpdate(content, waitFor);
}).nThen(function () {
onLocal();
});

Loading…
Cancel
Save