Fix error when importing wrong format
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…
Reference in New Issue