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

Unified Diff: appengine/swarming/elements/res/imp/botlist/bot-filters.html

Issue 2276373002: Remove the rest of iron-ajax from bot-list-data (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@make-tasklist
Patch Set: Created 4 years, 4 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
Index: appengine/swarming/elements/res/imp/botlist/bot-filters.html
diff --git a/appengine/swarming/elements/res/imp/botlist/bot-filters.html b/appengine/swarming/elements/res/imp/botlist/bot-filters.html
index d1bd3eb60a2471a10b6abefa1a75dbe28593eab0..810cff7b8882f2a216e2ae7a5f3912fda7198180 100644
--- a/appengine/swarming/elements/res/imp/botlist/bot-filters.html
+++ b/appengine/swarming/elements/res/imp/botlist/bot-filters.html
@@ -263,12 +263,12 @@ the fleet.">
} else if (col === "status") {
var rest = f.substring(col.length + this.FILTER_SEP.length);
if (rest === "alive") {
- params["is_dead"] = "FALSE";
- params["quarantined"] = "FALSE";
+ params["is_dead"] = ["FALSE"];
+ params["quarantined"] = ["FALSE"];
} else if (rest === "quarantined") {
- params["quarantined"] = "TRUE";
+ params["quarantined"] = ["TRUE"];
} else if (rest === "dead") {
- params["is_dead"] = "TRUE";
+ params["is_dead"] = ["TRUE"];
}
}
}.bind(this));
@@ -278,7 +278,7 @@ the fleet.">
// Clamp the limit
lim = Math.max(lim, 1);
lim = Math.min(1000, lim);
- params["limit"] = lim;
+ params["limit"] = [lim];
// not !== because limit could be a string, e.g. "900"
if (this.limit != lim) {
this.set("limit", lim);
« no previous file with comments | « appengine/swarming/elements/build/elements.html ('k') | appengine/swarming/elements/res/imp/botlist/bot-list-data.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698