From a51eb353874e3df1759aff68e6805b2aa81437ca Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Wed, 17 Jun 2009 12:11:41 -0300 Subject: [PATCH] ActionItem1139: fixing broken images in editor --- app/views/shared/tiny_mce.rhtml | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/app/views/shared/tiny_mce.rhtml b/app/views/shared/tiny_mce.rhtml index 4077435..0d500e3 100644 --- a/app/views/shared/tiny_mce.rhtml +++ b/app/views/shared/tiny_mce.rhtml @@ -10,6 +10,7 @@ tinyMCE.init({ theme : "advanced", relative_urls : false, remove_script_host : true, + document_base_url : <%= environment.top_url.to_json %>, plugins: myplugins, theme_advanced_toolbar_location : "top", theme_advanced_layout_manager: 'SimpleLayout', -- libgit2 0.21.2