From dcbbac8bb73da779bc1fb7ff3ce96ab9d2067406 Mon Sep 17 00:00:00 2001 From: benweet Date: Sun, 16 Jun 2013 19:32:02 +0100 Subject: [PATCH] Import files from disk --- js/extensions/dialogOpenHarddrive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/extensions/dialogOpenHarddrive.js b/js/extensions/dialogOpenHarddrive.js index a4338d7a..5b617b05 100644 --- a/js/extensions/dialogOpenHarddrive.js +++ b/js/extensions/dialogOpenHarddrive.js @@ -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);