AC-691 fixed detail AS view so that JSON changes displays correctly. Fixed Refresh and AS buttons on Home page.

This commit is contained in:
Chris Houseknecht
2013-11-21 01:16:15 +00:00
parent 0cd6e5412b
commit 38e9dbcf3c
3 changed files with 22 additions and 16 deletions

View File

@@ -214,9 +214,7 @@ angular.module('StreamWidget', ['RestServices', 'Utilities', 'StreamListDefiniti
scope['object2_name'] = results.summary_fields.object2.name;
}
scope['user'] = (results.summary_fields.user) ? results.summary_fields.user.username : 'system';
scope['changes'] = results['changes'];
//scope['changes'] = (!Empty(results['changes'])) ? JSON.parse(scope.variables) : '';
//scope['changes'] = JSON.stringify(results['changes'], null, '\t');
scope['changes'] = JSON.stringify(results['changes'], null, '\t');
scope.formModalAction = function() {
$('#form-modal').modal("hide");
}