Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: sitescripts/reports/static/reports.js

Issue 8793015: Reports - user profile (Closed)
Patch Set: Reports - user profile Created Nov. 7, 2012, 11:39 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « .sitescripts.example ('k') | sitescripts/reports/template/report.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/reports/static/reports.js
===================================================================
--- a/sitescripts/reports/static/reports.js
+++ b/sitescripts/reports/static/reports.js
@@ -134,6 +134,9 @@
var usefulness = 0;
var usefulnessCell = document.getElementById("usefulnessCell");
+ if (statusCell && statusCell.hasAttribute("usefulness"))
+ usefulness = statusCell.getAttribute("usefulness");
+ // backcompatibility, should remove in future
if (usefulnessCell)
usefulness = usefulnessCell.getAttribute("value");
setRadio(radios, usefulness);
« no previous file with comments | « .sitescripts.example ('k') | sitescripts/reports/template/report.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld