From 2bdecdce17057e4464f54918ad17d48071006161 Mon Sep 17 00:00:00 2001 From: marijus Date: Sat, 24 May 2014 19:16:11 +0200 Subject: for some reason this is also needed to make it work reliable in webkit browsers --- view/theme/redbasic/js/redbasic.js | 10 ++++++++++ view/tpl/comment_item.tpl | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index ec848dd3b..58acc1b95 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -1,3 +1,13 @@ +function commentOpenRedbasic(obj,id) { + $(document).click(function() { + if(obj.value == aStr['comment']) { + obj.value = ''; + $("#comment-edit-text-" + id).addClass("comment-edit-text-full").removeClass("comment-edit-text-empty"); + $("#comment-tools-" + id).show(); + } + }); +} + function commentCloseRedbasic(obj,id) { $(document).click(function() { if(obj.value == '') { diff --git a/view/tpl/comment_item.tpl b/view/tpl/comment_item.tpl index 2689e17ef..0b89bb16a 100755 --- a/view/tpl/comment_item.tpl +++ b/view/tpl/comment_item.tpl @@ -10,7 +10,7 @@ - + {{if $qcomment}}