template fixes closes #825

This commit is contained in:
Baris Soner Usakli
2014-01-20 21:00:10 -05:00
parent 12a5b6b4c6
commit 55d4a5fe3a
12 changed files with 381 additions and 356 deletions

View File

@@ -522,8 +522,10 @@ define(['composer'], function(composer) {
$('#post-container').on('click', '.chat', function(e) {
var username = $(this).parents('li.row').attr('data-username');
var touid = $(this).parents('li.row').attr('data-uid');
var post = $(this).parents('li.post-row'),
username = post.attr('data-username'),
touid = post.attr('data-uid');
app.openChat(username, touid);
$(this).parents('.btn-group').find('.dropdown-toggle').click();
return false;