Changes made by bug 12904 appear to have affected TinyMCE.
Test plan:
1) Edit a library, note the OPAC info editor is missing
2) Apply this patch
3) Reload the page
4) The editor is back!
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
$(original_textarea).trigger("input");
}
+tinyMCE.baseURL = "/intranet-tmpl/lib/tiny_mce";
tinyMCE.init({
setup : function(ed) {
ed.onInit.add(function(editor){
});
[% END %]
});
+ tinyMCE.baseURL = "/intranet-tmpl/lib/tiny_mce";
tinyMCE.init({
mode : "textareas",
theme : "advanced",
<title>Online help</title>
<script type="text/javascript" src="[% interface %]/lib/tiny_mce/tiny_mce_[% KOHA_VERSION %].js"></script>
<script type="text/javascript">//<![CDATA[
+tinyMCE.baseURL = "/intranet-tmpl/lib/tiny_mce";
tinyMCE.init({
mode : "textareas",
theme : "advanced",
[% END %]
<script type="text/javascript" src="[% interface %]/lib/tiny_mce/tiny_mce_[% KOHA_VERSION %].js"></script>
<script type="text/javascript">
+ tinyMCE.baseURL = "/intranet-tmpl/lib/tiny_mce";
tinyMCE.init({
mode : "textareas",
theme : "advanced",