diff options
author | Struan Donald <struan@exo.org.uk> | 2012-11-29 12:13:25 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-11-29 16:10:09 +0000 |
commit | bd76c5a63bf951bb213845626cc071a712b2fd25 (patch) | |
tree | f3fa9a022e1d65acaf5af4ddc9dc605feb519263 /www/js/report.js | |
parent | 0b3ffd89b96eb07a2c42682f4422471bb1267781 (diff) |
split report detail gathering acorss multiple screens
Diffstat (limited to 'www/js/report.js')
-rw-r--r-- | www/js/report.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/www/js/report.js b/www/js/report.js index 4a79568..43af05a 100644 --- a/www/js/report.js +++ b/www/js/report.js @@ -8,7 +8,7 @@ function Report(spec) { may_show_name: '', category: '', phone: '', - pc: '' + pc: '', }; return { @@ -17,10 +17,13 @@ function Report(spec) { lon: function(lon) { if ( lon ) { props.lon = lon; } return props.lon; }, title: function(title) { if ( title ) { props.title = title; } return props.title; }, detail: function(detail) { if ( detail ) { props.detail = detail; } return props.detail; }, + category: function(category) { if ( category ) { props.category = category; } return props.category; }, phone: function(phone) { if ( phone ) { props.phone = phone; } return props.phone; }, pc: function(pc) { if ( pc ) { props.pc = pc; } return props.pc; }, may_show_name: function(may_show_name) { if ( may_show_name ) { props.may_show_name = may_show_name; } return props.may_show_name; }, file: function(file) { if ( file ) { props.file = file; } return props.file; }, + name: function(name) { if ( name ) { props.name = name; } return props.name; }, + email: function(email) { if ( email ) { props.email = email; } return props.email; }, getLastUpdate: function(time) { if ( time ) { props.time = time; |