diff options
author | friendica <info@friendica.com> | 2012-02-14 23:13:18 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-02-14 23:13:18 -0800 |
commit | 03171fd7deeb8e564478273ebdbee77eeab4a6cd (patch) | |
tree | 1eff806720631bcbaf0a119444c9fd1731d37b0b /view/head.tpl | |
parent | f86593965389e2592ae41c7e7f5cb6dcfc7a660f (diff) | |
download | volse-hubzilla-03171fd7deeb8e564478273ebdbee77eeab4a6cd.tar.gz volse-hubzilla-03171fd7deeb8e564478273ebdbee77eeab4a6cd.tar.bz2 volse-hubzilla-03171fd7deeb8e564478273ebdbee77eeab4a6cd.zip |
preliminary qcomment support, [nosmile] tag to disable smiley processing
Diffstat (limited to 'view/head.tpl')
-rwxr-xr-x | view/head.tpl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/view/head.tpl b/view/head.tpl index 9fe5a63b3..70d830faa 100755 --- a/view/head.tpl +++ b/view/head.tpl @@ -46,6 +46,18 @@ } } + + function commentInsert(obj,id) { + var tmpStr = $("#comment-edit-text-" + id).val(); + if(tmpStr == '$comment') { + tmpStr = ''; + $("#comment-edit-text-" + id).addClass("comment-edit-text-full"); + $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty"); + openMenu("comment-edit-submit-wrapper-" + id); + } + $("#comment-edit-text-" + id).val(tmpStr + $(obj).html()); + } + function showHideComments(id) { if( $('#collapsed-comments-' + id).is(':visible')) { $('#collapsed-comments-' + id).hide(); |