Update a related patch

pull/1/head
Victor Dubiniuk 10 years ago
parent 77a074232e
commit d5e356c4a1

@ -2,7 +2,7 @@ diff --git a/js/3rdparty/webodf/editor/EditorSession.js b/js/3rdparty/webodf/edi
index dc90ac1..d890a8e 100644 index dc90ac1..d890a8e 100644
--- a/js/3rdparty/webodf/editor/EditorSession.js --- a/js/3rdparty/webodf/editor/EditorSession.js
+++ b/js/3rdparty/webodf/editor/EditorSession.js +++ b/js/3rdparty/webodf/editor/EditorSession.js
@@ -36,7 +36,7 @@ @@ -39,10 +39,12 @@
/*global define, runtime, core, gui, ops, document */ /*global define, runtime, core, gui, ops, document */
define("webodf/editor/EditorSession", [ define("webodf/editor/EditorSession", [
@ -11,3 +11,8 @@ index dc90ac1..d890a8e 100644
], function (fontsCSS) { // fontsCSS is retrieved as a string, using dojo's text retrieval AMD plugin ], function (fontsCSS) { // fontsCSS is retrieved as a string, using dojo's text retrieval AMD plugin
"use strict"; "use strict";
+ fontsCSS = fontsCSS.replace(/\.\/fonts/g, OC.appswebroots['documents']+'/css/fonts');
+
runtime.loadClass("core.DomUtils");
runtime.loadClass("odf.OdfUtils");
runtime.loadClass("ops.OdtDocument");

Loading…
Cancel
Save