bring back comment edit buttons
This commit is contained in:
parent
23770896c1
commit
fa65db9aa1
|
@ -1765,7 +1765,7 @@ input#dfrn-url {
|
||||||
|
|
||||||
.comment-edit-text-empty {
|
.comment-edit-text-empty {
|
||||||
color: gray;
|
color: gray;
|
||||||
height: 5em;
|
height: 2em;
|
||||||
width: 175px;
|
width: 175px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|
|
@ -37,12 +37,21 @@ function insertFormatting(comment,BBcode,id) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function cmtBbOpen(id) {
|
function cmtBbOpen(comment, id) {
|
||||||
|
if($(comment).hasClass('comment-edit-text-full')) {
|
||||||
$(".comment-edit-bb-" + id).show();
|
$(".comment-edit-bb-" + id).show();
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
function cmtBbClose(id) {
|
return false;
|
||||||
|
}
|
||||||
|
function cmtBbClose(comment, id) {
|
||||||
|
if($(comment).hasClass('comment-edit-text-empty')) {
|
||||||
$(".comment-edit-bb-" + id).hide();
|
$(".comment-edit-bb-" + id).hide();
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
function hidecal() {
|
function hidecal() {
|
||||||
if(editor) return;
|
if(editor) return;
|
||||||
|
|
Loading…
Reference in a new issue