diff options
author | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2014-10-15 02:09:06 +0400 |
---|---|---|
committer | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2014-10-15 02:09:16 +0400 |
commit | d5e356c4a1c8b91c9b1c97d3b90637af80dfded7 (patch) | |
tree | bfac07301f0ec8da9e88d17cf2c30bdb37b356ed /src | |
parent | 77a074232ea88db251cc301aa6c906ae85f042d0 (diff) |
Update a related patch
Diffstat (limited to 'src')
-rw-r--r-- | src/patches/fontsCssPath.patch | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/patches/fontsCssPath.patch b/src/patches/fontsCssPath.patch index 53ba62fd..1e8f0bb9 100644 --- a/src/patches/fontsCssPath.patch +++ b/src/patches/fontsCssPath.patch @@ -2,7 +2,7 @@ diff --git a/js/3rdparty/webodf/editor/EditorSession.js b/js/3rdparty/webodf/edi index dc90ac1..d890a8e 100644 --- a/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 */ 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 "use strict"; ++ fontsCSS = fontsCSS.replace(/\.\/fonts/g, OC.appswebroots['documents']+'/css/fonts'); ++ + runtime.loadClass("core.DomUtils"); + runtime.loadClass("odf.OdfUtils"); + runtime.loadClass("ops.OdtDocument"); |