From 38f7449a21cc7b894868ea9bd82cc00a9edbb6d6 Mon Sep 17 00:00:00 2001 From: Jos van den Oever Date: Mon, 15 Nov 2010 12:11:58 +0100 Subject: [PATCH] Fix loading on local filesystem. --- webodf/lib/runtime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webodf/lib/runtime.js b/webodf/lib/runtime.js index 5f73b779..6e28f32e 100644 --- a/webodf/lib/runtime.js +++ b/webodf/lib/runtime.js @@ -159,7 +159,7 @@ function BrowserRuntime(logoutput) { } try { xmlHttp.send(null); - if (xmlHttp.status === 200) { + if (xmlHttp.status === 200 || xmlHttp.status === 0) { result = xmlHttp.responseText; } } catch (e) {