Fix bug with activity pane when user isn't an authenticated user.

Fix a grouping issue on users table with the "Local" user.
This commit is contained in:
Tim 2015-07-25 21:49:32 +02:00
parent 41d09066fe
commit 2a613c117f
3 changed files with 68 additions and 57 deletions

View file

@ -46,7 +46,7 @@ history_table_options = {
"data":"friendly_name",
"createdCell": function (td, cellData, rowData, row, col) {
if (cellData !== '') {
if (rowData['user_id'] !== '') {
if (rowData['user_id']) {
$(td).html('<a href="user?user_id=' + rowData['user_id'] + '">' + cellData + '</a>');
} else {
$(td).html('<a href="user?user=' + rowData['user'] + '">' + cellData + '</a>');