Lines Matching refs:id

55       hide($(this).attr('id').substring(2));
63 openReply($(this).attr('id').substring(2));
67 closeReply($(this).attr('id').substring(2));
75 showProposal($(this).attr('id').substring(2));
79 hideProposal($(this).attr('id').substring(2));
83 showProposeChange($(this).attr('id').substring(2));
87 hideProposeChange($(this).attr('id').substring(2));
91 acceptComment($(this).attr('id').substring(2));
95 deleteComment($(this).attr('id').substring(2));
99 toggleCommentMarkupBox($(this).attr('id').substring(2));
147 function show(id) {
148 $('#ao' + id).hide();
149 $('#ah' + id).show();
150 var context = $.extend({id: id}, opts);
154 var form = popup.find('#cf' + id);
159 $('#s' + id).after(popup);
161 getComments(id);
168 function hide(id) {
169 $('#ah' + id).hide();
170 $('#ao' + id).show();
171 var div = $('#sc' + id);
181 function getComments(id) {
185 data: {node: id},
187 var ul = $('#cl' + id);
189 $('#cf' + id)
203 $('#cn' + id).slideUp(speed + 200);
306 $('#cd' + siblings[i].id)
320 function acceptComment(id) {
324 data: {id: id},
326 $('#cm' + id).fadeOut('fast');
327 $('#cd' + id).removeClass('moderate');
335 function deleteComment(id) {
339 data: {id: id},
341 var div = $('#cd' + id);
351 .find('span.user-id:first')
355 .find('#cm' + id + ', #dc' + id + ', #ac' + id + ', #rc' + id +
356 ', #sp' + id + ', #hp' + id + ', #cr' + id + ', #rl' + id)
369 function showProposal(id) {
370 $('#sp' + id).hide();
371 $('#hp' + id).show();
372 $('#pr' + id).slideDown('fast');
375 function hideProposal(id) {
376 $('#hp' + id).hide();
377 $('#sp' + id).show();
378 $('#pr' + id).slideUp('fast');
381 function showProposeChange(id) {
382 $('#pc' + id).hide();
383 $('#hc' + id).show();
384 var textarea = $('#pt' + id);
390 function hideProposeChange(id) {
391 $('#hc' + id).hide();
392 $('#pc' + id).show();
393 var textarea = $('#pt' + id);
398 function toggleCommentMarkupBox(id) {
399 $('#mb' + id).toggle();
432 var id = link.attr('id');
433 if (!id) {
440 if (id.charAt(1) != 'u') {
441 value = id.charAt(0) == 'u' ? 1 : -1;
445 comment_id: id.substring(2),
451 $('#' + id.charAt(0) + (id.charAt(1) == 'u' ? 'v' : 'u') + d.comment_id)
488 function openReply(id) {
490 $('#rl' + id).hide();
491 $('#cr' + id).show();
494 var div = $(renderTemplate(replyTemplate, {id: id})).hide();
495 $('#cl' + id)
498 .find('#rf' + id)
501 addComment($('#rf' + id));
502 closeReply(id);
506 closeReply(id);
509 $('#rf' + id).find('textarea').focus();
516 function closeReply(id) {
518 $('#rd' + id).slideUp('fast', function() {
523 $('#cr' + id).hide();
524 $('#rl' + id).show();
544 ul.children().children("[id^='cd']")
548 comment.children = getChildren($(this).find('#cl' + comment.id), true);
572 div.find('#' + direction + 'v' + comment.id).hide();
573 div.find('#' + direction + 'u' + comment.id).show();
579 div.find('#sp' + comment.id).show();
581 div.find('#cm' + comment.id).show();
583 div.find('#dc' + comment.id).show();
589 * A simple template renderer. Placeholders such as <%id%> are replaced
590 * by context['id'] with items being escaped. Placeholders such as <#id#>
623 var id = $(this).attr('id').substring(1);
624 var count = COMMENT_METADATA[id];
633 id: 'ao' + id
642 show($(this).attr('id').substring(2));
649 id: 'ah' + id
658 hide($(this).attr('id').substring(2));
687 <div class="sphinx-comments" id="sc<%id%>">\
695 <div class="comment-loading" id="cn<%id%>">\
697 <ul id="cl<%id%>" class="comment-ul"></ul>\
698 <div id="ca<%id%>">\
700 (<a href="#" class="comment-markup" id="ab<%id%>">markup</a>):</p>\
701 <div class="comment-markup-box" id="mb<%id%>">\
705 <form method="post" id="cf<%id%>" class="comment-form" action="">\
708 <a href="#" id="pc<%id%>" class="show-propose-change">\
711 <a href="#" id="hc<%id%>" class="hide-propose-change">\
715 <textarea name="proposal" id="pt<%id%>" cols="80"\
718 <input type="hidden" name="node" value="<%id%>" />\
725 <div id="cd<%id%>" class="sphinx-comment<%css_class%>">\
728 <a href="#" id="uv<%id%>" class="vote" title="vote up">\
731 <a href="#" id="uu<%id%>" class="un vote" title="vote up">\
736 <a href="#" id="dv<%id%>" class="vote" title="vote down">\
737 <img src="<%downArrow%>" id="da<%id%>" />\
739 <a href="#" id="du<%id%>" class="un vote" title="vote down">\
746 <span class="user-id"><%username%></span>\
752 <a href="#" class="reply hidden" id="rl<%id%>">reply &#9657;</a>\
753 <a href="#" class="close-reply" id="cr<%id%>">reply &#9663;</a>\
754 <a href="#" id="sp<%id%>" class="show-proposal">proposal &#9657;</a>\
755 <a href="#" id="hp<%id%>" class="hide-proposal">proposal &#9663;</a>\
756 <a href="#" id="dc<%id%>" class="delete-comment hidden">delete</a>\
757 <span id="cm<%id%>" class="moderation hidden">\
758 <a href="#" id="ac<%id%>" class="accept-comment">accept</a>\
761 <pre class="proposal" id="pr<%id%>">\
764 <ul class="comment-children" id="cl<%id%>"></ul>\
772 <div class="reply-div" id="rd<%id%>">\
773 <form id="rf<%id%>">\
777 <input type="hidden" name="parent" value="<%id%>" />\