aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/dispy/jot-header.tpl
diff options
context:
space:
mode:
authorSimon L'nu <simon.lnu@gmail.com>2012-03-07 10:07:36 -0500
committerSimon L'nu <simon.lnu@gmail.com>2012-03-07 10:07:36 -0500
commit66d2c52b5f076187f7b6b9eb3caa51b916a7da21 (patch)
tree4ddb60fea72a88706a5ea8a8dd08e3231e58b351 /view/theme/dispy/jot-header.tpl
parent62fffdb018d7755e62b9bf897f3f6e68f42f3e6e (diff)
downloadvolse-hubzilla-66d2c52b5f076187f7b6b9eb3caa51b916a7da21.tar.gz
volse-hubzilla-66d2c52b5f076187f7b6b9eb3caa51b916a7da21.tar.bz2
volse-hubzilla-66d2c52b5f076187f7b6b9eb3caa51b916a7da21.zip
push fix for funky menu action. the overflow-x might break again for some people
Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
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);