restore old comment behaviour when threading turned off
This commit is contained in:
parent
154be4bc5c
commit
ff0e0782a5
4 changed files with 20 additions and 1 deletions
|
@ -1,6 +1,10 @@
|
|||
<div class="comment-wwedit-wrapper" id="comment-edit-wrapper-$id" style="display: block;">
|
||||
{{ if $threaded }}
|
||||
<span id="hide-commentbox-$id" class="hide-commentbox fakelink" onclick="showHideCommentBox($id);">$comment</span>
|
||||
<form class="comment-edit-form" style="display: none;" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">
|
||||
{{ else }}
|
||||
<form class="comment-edit-form" style="display: block;" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">
|
||||
{{ endif }}
|
||||
<input type="hidden" name="type" value="$type" />
|
||||
<input type="hidden" name="profile_uid" value="$profile_uid" />
|
||||
<input type="hidden" name="parent" value="$parent" />
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
<div class="comment-wwedit-wrapper" id="comment-edit-wrapper-$id" style="display: block;">
|
||||
{{ if $threaded }}
|
||||
<span id="hide-commentbox-$id" class="hide-commentbox fakelink" onclick="showHideCommentBox($id);">$comment</span>
|
||||
<form class="comment-edit-form" style="display: none;" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">
|
||||
{{ else }}
|
||||
<form class="comment-edit-form" style="display: block;" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">
|
||||
{{ endif }}
|
||||
<input type="hidden" name="type" value="$type" />
|
||||
<input type="hidden" name="profile_uid" value="$profile_uid" />
|
||||
<input type="hidden" name="parent" value="$parent" />
|
||||
|
|
|
@ -938,6 +938,9 @@ input#dfrn-url {
|
|||
.tread-wrapper .tread-wrapper {
|
||||
margin-left: 50px;
|
||||
}
|
||||
.tread-wrapper .wall-item-comment-wrapper {
|
||||
margin-left: 50px;
|
||||
}
|
||||
|
||||
.tread-end-wrapper {
|
||||
margin-left: 50px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue