[LNT] r269467 - Fixup to previous checkbox commit to get Javascript to agree
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Fri May 13 13:10:04 PDT 2016
Author: cmatthews
Date: Fri May 13 15:10:03 2016
New Revision: 269467
URL: http://llvm.org/viewvc/llvm-project?rev=269467&view=rev
Log:
Fixup to previous checkbox commit to get Javascript to agree
Modified:
lnt/trunk/lnt/server/ui/regression_views.py
lnt/trunk/lnt/server/ui/templates/v4_regression_detail.html
Modified: lnt/trunk/lnt/server/ui/regression_views.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/regression_views.py?rev=269467&r1=269466&r2=269467&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/regression_views.py (original)
+++ lnt/trunk/lnt/server/ui/regression_views.py Fri May 13 15:10:03 2016
@@ -357,7 +357,8 @@ def v4_regression_detail(id):
return render_template("v4_regression_detail.html",
testsuite_name=g.testsuite_name,
regression=regression_info, changes=crs,
- form=form, analysis=lnt.server.reporting.analysis)
+ form=form, analysis=lnt.server.reporting.analysis,
+ check_all=checkbox_state)
@v4_route("/hook", methods=["GET"])
Modified: lnt/trunk/lnt/server/ui/templates/v4_regression_detail.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/v4_regression_detail.html?rev=269467&r1=269466&r2=269467&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/v4_regression_detail.html (original)
+++ lnt/trunk/lnt/server/ui/templates/v4_regression_detail.html Fri May 13 15:10:03 2016
@@ -301,8 +301,10 @@ $(document).ready( function () {
init_axis("{{base_url}}");
- all_checks();
-
+ /* Only check boxes if we don't have lots of regressions. */
+ if ({{check_all}}) {
+ all_checks();
+ }
update_graph();
update_order_summary();
More information about the llvm-commits
mailing list