Import files from disk

This commit is contained in:
benweet 2013-06-16 19:32:02 +01:00
parent f5dcc578ee
commit dcbbac8bb7

View File

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