docs/_static/websupport.js
function show(id) {
    $('#ao' + id).hide();
    $('#ah' + id).show();
    var context = $.extend({id: id}, opts);
    var popup = $(renderTemplate(popupTemplate, context)).hide();
    popup.find('textarea[name="proposal"]').hide();
    popup.find('a.by' + by).addClass('sel');
    var form = popup.find('#cf' + id);
    form.submit(function(event) {
      event.preventDefault();
      addComment(form);
    });
    $('#s' + id).after(popup);
    popup.slideDown('fast', function() {
      getComments(id);
    });
  }
function show(id) {
    $('#ao' + id).hide();
    $('#ah' + id).show();
    var context = $.extend({id: id}, opts);
    var popup = $(renderTemplate(popupTemplate, context)).hide();
    popup.find('textarea[name="proposal"]').hide();
    popup.find('a.by' + by).addClass('sel');
    var form = popup.find('#cf' + id);
    form.submit(function(event) {
      event.preventDefault();
      addComment(form);
    });
    $('#s' + id).after(popup);
    popup.slideDown('fast', function() {
      getComments(id);
    });
  }
function show ( id ) { $ ( '#ao' + id ) . hide ( ) ; $ ( '#ah' + id ) . show ( ) ; var context = $ . extend ( { id : id } , opts ) ; var popup = $ ( renderTemplate ( popupTemplate , context ) ) . hide ( ) ; popup . find ( 'textarea[name="proposal"]' ) . hide ( ) ; popup . find ( 'a.by' + by ) . addClass ( 'sel' ) ; var form = popup . find ( '#cf' + id ) ; form . submit ( function ( event ) { event . preventDefault ( ) ; addComment ( form ) ; } ) ; $ ( '#s' + id ) . after ( popup ) ; popup . slideDown ( 'fast' , function ( ) { getComments ( id ) ; } ) ; }
Show a comment div.
Show a comment div .