Import files from disk
This commit is contained in:
parent
f5dcc578ee
commit
dcbbac8bb7
@ -95,7 +95,7 @@ define([
|
||||
}
|
||||
content = converter.makeMd(content);
|
||||
if(content === undefined) {
|
||||
extensionMgr.onError(importedFile.name + " is not a valid HTML file.");
|
||||
extensionMgr.onError("Invalid HTML code.");
|
||||
return;
|
||||
}
|
||||
var fileDesc = fileMgr.createFile(undefined, content);
|
||||
|
Loading…
Reference in New Issue
Block a user