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

Unified Diff: appengine/swarming/elements/res/imp/common/common-behavior.html

Issue 2291323002: Introduce new bot-page UI (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@bot-page
Patch Set: Tweak table to look contiguous Created 4 years, 3 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/common/common-behavior.html
diff --git a/appengine/swarming/elements/res/imp/common/common-behavior.html b/appengine/swarming/elements/res/imp/common/common-behavior.html
index 25c61710200c3d5ec02eda7da52568b6532e597b..76254a1ab1d51fec135169bf19aacd8bab98a269 100644
--- a/appengine/swarming/elements/res/imp/common/common-behavior.html
+++ b/appengine/swarming/elements/res/imp/common/common-behavior.html
@@ -39,7 +39,9 @@
if (busy) {
this.set(busy, true);
}
- url = url + "?" + sk.query.fromParamSet(params);
+ if (params) {
+ url = url + "?" + sk.query.fromParamSet(params);
+ }
sk.request("GET", url, "", headers).then(JSON.parse).then(function(json){
this.set(bindTo, json);
if (busy) {

Powered by Google App Engine
This is Rietveld 408576698