Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1640)

Unified Diff: Source/devtools/front_end/audits/AuditLauncherView.js

Issue 1198323002: DevTools: category checkboxes are not disabled while running audits. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/audits/AuditLauncherView.js
diff --git a/Source/devtools/front_end/audits/AuditLauncherView.js b/Source/devtools/front_end/audits/AuditLauncherView.js
index 7487eeb8793d04f5fcd734e0d6a2259a922dd3c6..e67375dbaa0883380a7378518e6696dd124a0f4e 100644
--- a/Source/devtools/front_end/audits/AuditLauncherView.js
+++ b/Source/devtools/front_end/audits/AuditLauncherView.js
@@ -173,7 +173,8 @@ WebInspector.AuditLauncherView.prototype = {
_toggleUIComponents: function(disable)
{
this._selectAllCheckboxElement.disabled = disable;
- this._categoriesElement.disabled = disable;
+ for (var child = this._categoriesElement.firstChild; child; child = child.nextSibling)
lushnikov 2015/06/22 13:51:12 why iterate over dom?
+ child.checkboxElement.disabled = disable;
this._auditPresentStateElement.disabled = disable;
this._auditReloadedStateElement.disabled = disable;
},
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698