From 1c9ed08620578bebc8af16e003a2ecef2b8a1f37 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Wed, 20 Jul 2011 10:00:33 +0200 Subject: show acl selector in a popup with fancybox --- view/jot-header.tpl | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) (limited to 'view/jot-header.tpl') diff --git a/view/jot-header.tpl b/view/jot-header.tpl index 5e598e05e..29ba38538 100644 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -4,6 +4,7 @@ var editor; var textlen = 0; + tinyMCE.init({ theme : "advanced", mode : "specific_textareas", @@ -26,7 +27,7 @@ tinyMCE.init({ content_css: "$baseurl/view/custom_tinymce.css", theme_advanced_path : false, setup : function(ed) { - //Character count + //Character count ed.onKeyUp.add(function(ed, e) { var txt = tinyMCE.activeEditor.getContent(); textlen = txt.length; @@ -53,7 +54,7 @@ tinyMCE.init({ $('#character-counter').addClass('red'); } $('#character-counter').text(textlen); - }); + }); ed.onInit.add(function(ed) { ed.pasteAsPlainText = true; @@ -62,11 +63,19 @@ tinyMCE.init({ } }); +