Vier: Now there are buttons for inserting bbcode elements in the comments
This commit is contained in:
parent
0a29927e6d
commit
330960f8f7
4 changed files with 99 additions and 7 deletions
|
@ -12,7 +12,7 @@ $a->theme_info = array();
|
|||
function vier_init(&$a) {
|
||||
$a->page['htmlhead'] .= <<< EOT
|
||||
<script>
|
||||
/*function insertFormatting(comment,BBcode,id) {
|
||||
function insertFormatting(comment,BBcode,id) {
|
||||
|
||||
var tmpStr = $("#comment-edit-text-" + id).val();
|
||||
if(tmpStr == comment) {
|
||||
|
@ -41,7 +41,7 @@ $a->page['htmlhead'] .= <<< EOT
|
|||
}
|
||||
return true;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
function showThread(id) {
|
||||
$("#collapsed-comments-" + id).show()
|
||||
|
@ -52,13 +52,15 @@ function hideThread(id) {
|
|||
$("#collapsed-comments-" + id + " .collapsed-comments").hide()
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
function cmtBbOpen(id) {
|
||||
$("#comment-edit-bb-" + id).show();
|
||||
}
|
||||
function cmtBbClose(id) {
|
||||
$("#comment-edit-bb-" + id).hide();
|
||||
}
|
||||
|
||||
/*
|
||||
$(document).ready(function() {
|
||||
|
||||
$('html').click(function() { $("#nav-notifications-menu" ).hide(); });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue