permissions responder + upstream merge

This commit is contained in:
friendica
2012-09-10 22:00:56 -07:00
parent 61cca7637a
commit c8957b36ea
12 changed files with 1006 additions and 86 deletions
+11 -3
View File
@@ -34,11 +34,19 @@ function insertFormatting(comment,BBcode,id) {
return true;
}
function cmtBbOpen(id) {
$(".comment-edit-bb-" + id).show();
function cmtBbOpen(comment, id) {
if($(comment).hasClass('comment-edit-text-full')) {
$(".comment-edit-bb-" + id).show();
return true;
}
return false;
}
function cmtBbClose(comment, id) {
$(".comment-edit-bb-" + id).hide();
if($(comment).hasClass('comment-edit-text-empty')) {
$(".comment-edit-bb-" + id).hide();
return true;
}
return false;
}
$(document).ready(function() {