// fix Update the call of JavaScript and CSS files in the class of HelperForm and controller templates (PSFV-94)
This commit is contained in:
@@ -351,28 +351,30 @@
|
||||
</form>
|
||||
{/block}
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
var iso = '{$iso}';
|
||||
var pathCSS = '{$path_css}';
|
||||
var ad = '{$ad}';
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
tinySetup();
|
||||
|
||||
{block name="autoload_tinyMCE"}
|
||||
$(".autoload_rte").click(function(e){
|
||||
tinySetup({
|
||||
mode :"exact",
|
||||
editor_selector :"autoload_rte",
|
||||
elements : $(this).attr("id"),
|
||||
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull|cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,undo,redo",
|
||||
theme_advanced_buttons2 : "link,unlink,anchor,image,cleanup,code,|,forecolor,backcolor,|,hr,removeformat,visualaid,|,charmap,media,|,ltr,rtl,|,fullscreen",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_buttons4 : "",
|
||||
});
|
||||
})
|
||||
{/block}
|
||||
});
|
||||
</script>
|
||||
{if isset($tinymce) && $tinymce}
|
||||
<script type="text/javascript">
|
||||
|
||||
var iso = '{$iso}';
|
||||
var pathCSS = '{$path_css}';
|
||||
var ad = '{$ad}';
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
tinySetup();
|
||||
|
||||
{block name="autoload_tinyMCE"}
|
||||
$(".autoload_rte").click(function(e){
|
||||
tinySetup({
|
||||
mode :"exact",
|
||||
editor_selector :"autoload_rte",
|
||||
elements : $(this).attr("id"),
|
||||
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull|cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,undo,redo",
|
||||
theme_advanced_buttons2 : "link,unlink,anchor,image,cleanup,code,|,forecolor,backcolor,|,hr,removeformat,visualaid,|,charmap,media,|,ltr,rtl,|,fullscreen",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_buttons4 : "",
|
||||
});
|
||||
})
|
||||
{/block}
|
||||
});
|
||||
</script>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user