diff --git a/public/javascripts/notifier.js b/public/javascripts/notifier.js index b1fde48..649b047 100644 --- a/public/javascripts/notifier.js +++ b/public/javascripts/notifier.js @@ -379,6 +379,11 @@ printStackTrace.implementation.prototype = { '{project_root}' + '{environment}' + '' + + '' + + '{user_id}' + + '{user_name}' + + '{user_email}' + + '' + '', REQUEST_VARIABLE_GROUP_XML = '<{group_name}>{inner_content}', REQUEST_VARIABLE_XML = '{value}', @@ -411,9 +416,9 @@ printStackTrace.implementation.prototype = { "rootDirectory": "{project_root}", "action": "{request_action}", - "userId": "{}", - "userName": "{}", - "userEmail": "{}", + "userId": "{user_id}", + "userName": "{user_name}", + "userEmail": "{user_email}", }, "environment": {}, //"session": "", @@ -683,6 +688,15 @@ printStackTrace.implementation.prototype = { variable: 'outputFormat', namespace: 'options' }, { + methodName: 'setCurrentUser', + method: (function (value) { + for (var key in value) { + if (value.hasOwnProperty(key)) { + Config.xmlData['user_' + key] = value[key]; + } + } + }) + }, { methodName: 'setTrackJQ', variable: 'trackJQ', namespace: 'options', -- libgit2 0.21.2