aboutsummaryrefslogtreecommitdiffstats
path: root/view/comment_item.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/comment_item.tpl')
-rw-r--r--view/comment_item.tpl10
1 files changed, 6 insertions, 4 deletions
diff --git a/view/comment_item.tpl b/view/comment_item.tpl
index f617bc1a0..d6dcd8e4a 100644
--- a/view/comment_item.tpl
+++ b/view/comment_item.tpl
@@ -1,16 +1,18 @@
-<div class="comment-edit" id="comment-edit-$id" onclick="openClose('comment-edit-wrapper-$id');" >Comments</div>
+
<div class="comment-edit-wrapper" id="comment-edit-wrapper-$id" style="display: block;">
<form class="comment-edit-form" id="comment-edit-form-$id" action="item" method="post" >
<input type="hidden" name="type" value="jot" />
<input type="hidden" name="profile_uid" value="$profile_uid" />
<input type="hidden" name="parent" value="$parent" />
- <textarea rows="2" cols="24" id="comment-edit-text-$id" name="body" onFocus="this.rows=5; this.cols=40; openMenu('comment-edit-submit-$id');" onBlur="this.rows=2; this.cols=24; closeMenu('comment-edit-submit-$id'); this.value='';"></textarea>
+
+ <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);" onBlur="commentClose(this,$id);" >Comment</textarea>
- <div class="comment-edit-submit-wrapper" id="comment-edit-submit-$id" style="display: none;" >
- <input type="submit" id="comment-edit-submit" name="submit" value="Submit" />
+ <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-$id" style="display: none;" >
+ <input type="submit" id="comment-edit-submit-$id" class="comment-edit-submit" name="submit" value="Submit" />
</div>
+
<div id="comment-edit-end"></div>
</form>
</div>