aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMihai Sucan2011-06-06 16:28:30 (EDT)
committerFelipe Heidrich2011-06-07 10:56:10 (EDT)
commitf41d148a82b58f43e5256c10a6ac228716b8d041 (patch)
tree2f9c3252e641d64d74bea6d822d79761c7ff0d4b
parentcff53140488398123873a4f370e65b522e8d8709 (diff)
downloadorg.eclipse.orion.client-f41d148a82b58f43e5256c10a6ac228716b8d041.zip
org.eclipse.orion.client-f41d148a82b58f43e5256c10a6ac228716b8d041.tar.gz
org.eclipse.orion.client-f41d148a82b58f43e5256c10a6ac228716b8d041.tar.bz2
Fix for bug 348471.
-rw-r--r--bundles/org.eclipse.orion.client.editor/web/orion/textview/textView.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/bundles/org.eclipse.orion.client.editor/web/orion/textview/textView.js b/bundles/org.eclipse.orion.client.editor/web/orion/textview/textView.js
index 05bcba1..7c34258 100644
--- a/bundles/org.eclipse.orion.client.editor/web/orion/textview/textView.js
+++ b/bundles/org.eclipse.orion.client.editor/web/orion/textview/textView.js
@@ -1,3 +1,4 @@
+// vim:set noet:
/*******************************************************************************
* Copyright (c) 2010, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials are made
@@ -3660,6 +3661,9 @@ orion.textview.TextView = (function() {
try {
//Force CSS to be loaded synchronously so lineHeight can be calculated
var objXml = new XMLHttpRequest();
+ if (objXml.overrideMimeType) {
+ objXml.overrideMimeType("text/css");
+ }
objXml.open("GET", stylesheet[i], false);
objXml.send(null);
html.push("<style>");