diff options
author | Ugnich Anton | 2012-02-20 21:38:29 +0700 |
---|---|---|
committer | Ugnich Anton | 2012-02-20 21:38:29 +0700 |
commit | 34da94d887ae7be134d17c4bc9e101a8c198b300 (patch) | |
tree | 2e3d3444fdb4c4508072a39b9962965556111fe2 /web/scripts3.js | |
parent | 2acfbc4184eec216c2a394029962aa2905c6b0a2 (diff) |
Bugfixes
Diffstat (limited to 'web/scripts3.js')
-rw-r--r-- | web/scripts3.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/scripts3.js b/web/scripts3.js index 12e0aeee..f6e9cdef 100644 --- a/web/scripts3.js +++ b/web/scripts3.js @@ -39,9 +39,9 @@ function showCommentForm(mid,rid) { var c=$('#replies #'+rid+' .msg-comment'); c.wrap('<form action="/post" method="POST" enctype="multipart/form-data"/>'); c.before('<input type="hidden" name="mid" value="'+mid+'"/><input type="hidden" name="rid" value="'+rid+'"/>'); - c.append('<textarea name="body" rows="1" class="reply" placeholder="Add a comment..." onkeypress="postformListener(this.form,event)"></textarea>'); + c.append('<textarea name="body" rows="1" class="reply" placeholder="Add a comment..." onkeypress="postformListener(this.form,event)"></textarea><input type="submit" value="OK"/>'); } - $('#replies #'+rid+' .msg-links').hide(); +// $('#replies #'+rid+' .msg-links').hide(); $('#replies #'+rid+' .msg-comment').show(); $('#replies #'+rid+' textarea')[0].focus(); $('#replies #'+rid+' textarea').autoResize({ |