aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/dispy/jot-header.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-07 15:55:20 -0800
committerfriendica <info@friendica.com>2012-03-07 15:55:20 -0800
commit6525507a2f6a6b8f81e85a597cfa99f9f8c90279 (patch)
tree50e1d352486b93bf698bd57ad38ef4816797ca0b /view/theme/dispy/jot-header.tpl
parentdd3b3c2454b98225e2251a890095e8a971fdb396 (diff)
parent098c98f62acd43473ab4f600a16a55d86a4dbf59 (diff)
downloadvolse-hubzilla-6525507a2f6a6b8f81e85a597cfa99f9f8c90279.tar.gz
volse-hubzilla-6525507a2f6a6b8f81e85a597cfa99f9f8c90279.tar.bz2
volse-hubzilla-6525507a2f6a6b8f81e85a597cfa99f9f8c90279.zip
Merge branch 'pull'
Diffstat (limited to 'view/theme/dispy/jot-header.tpl')
-rw-r--r--view/theme/dispy/jot-header.tpl10
1 files changed, 4 insertions, 6 deletions
diff --git a/view/theme/dispy/jot-header.tpl b/view/theme/dispy/jot-header.tpl
index e72000b4c..43dcdbb84 100644
--- a/view/theme/dispy/jot-header.tpl
+++ b/view/theme/dispy/jot-header.tpl
@@ -1,12 +1,7 @@
-<script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
-<script type="text/javascript" src="$baseurl/js/ajaxupload.js"></script>
<script type="text/javascript">
-
var editor = false;
var textlen = 0;
var plaintext = '$editselect';
-// this is here because of the silly tinymce error. didn't help.
-var skin = 'default';
function initEditor(cb) {
if (editor==false) {
@@ -119,7 +114,9 @@ function enableOnUser(){
$(this).val("");
initEditor();
}
-
+</script>
+<script type="text/javascript" src="$baseurl/js/ajaxupload.js"></script>
+<script type="text/javascript">
var ispublic = '$ispublic';
var addtitle = '$addtitle';
@@ -127,6 +124,7 @@ function enableOnUser(){
/* enable tinymce on focus and click */
$("#profile-jot-text").focus(enableOnUser);
$("#profile-jot-text").click(enableOnUser);
+ /* enable character counter */
$("#profile-jot-text").focus(charCounter);
$("#profile-jot-text").click(charCounter);