Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 16935 | Rev 17003 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 16935 Rev 16951
Línea 516... Línea 516...
516
        }).done(function(response) {
516
        }).done(function(response) {
517
            if(response['success']) {
517
            if(response['success']) {
518
                $('#comment-' + unique).val('');
518
                $('#comment-' + unique).val('');
Línea 519... Línea 519...
519
 
519
 
520
                var s = $( "#commentTemplate" ).render( response['data'] );
520
                var s = $( "#commentTemplate" ).render( response['data'] );
Línea -... Línea 521...
-
 
521
                $(s).appendTo('ul.comment-sec-' + unique);  
521
                $(s).appendTo('.comment-sec-' + unique + ' ul');  
522
 
Línea 522... Línea 523...
522
 
523
   
Línea 523... Línea 524...
523
                $('#btn-comments-' + unique).html('<i class="<i class="fa fa-comments"></i>"></i> ' + response['total_comments']);
524
                $('#btn-comments-' + unique).html('<i class="<i class="fa fa-comments"></i>"></i> ' + response['total_comments']);
Línea 999... Línea 1000...
999
                    </li>
1000
                    </li>
1000
                {{/for}}
1001
                {{/for}}
1001
            </ul>
1002
            </ul>
1002
        {{/if}}
1003
        {{/if}}
Línea 1003... Línea 1004...
1003
        
1004
        
1004
        <form class="comment-form px-2 mb-2" data-feed-unique="{{>feed_unique}}"  action="{{>comment_add_url}}">
1005
        <form class="form-comment-feed comment-form px-2 mb-2" data-feed-unique="{{>feed_unique}}"  action="{{>comment_add_url}}">
1005
            <input type="text" name="comment" id="comment-{{>feed_unique}}" maxlength="256"  placeholder="LABEL_WRITE_A_COMMENT">
1006
            <input type="text" name="comment" id="comment-{{>feed_unique}}" maxlength="256"  placeholder="LABEL_WRITE_A_COMMENT">
1006
            <button class="btn btn-primary" type="submit">LABEL_SEND</button>
1007
            <button class="btn btn-primary" type="submit">LABEL_SEND</button>
1007
        </form>
1008
        </form>
1008
    </div>
1009
    </div>
1009
</script>
1010
</script>