aboutsummaryrefslogtreecommitdiffstats
path: root/src/static
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2022-01-24 18:29:31 +0000
committerGerrit Code Review <gerrit@opnfv.org>2022-01-24 18:29:31 +0000
commiteb0016bdc04d0b61379209376f96172a2715c799 (patch)
tree785c0db02049696cafa65b802aefedbe1b9cb81d /src/static
parent934d698bb93b81448353edb4f085bf8e4e70b7a9 (diff)
parent9126376413e61c5ad580df3848bddc1430c02dbd (diff)
Merge "Allow setting image for multi-node bookings"
Diffstat (limited to 'src/static')
-rw-r--r--src/static/js/dashboard.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/static/js/dashboard.js b/src/static/js/dashboard.js
index 85a337b..e3978e3 100644
--- a/src/static/js/dashboard.js
+++ b/src/static/js/dashboard.js
@@ -418,9 +418,12 @@ class MultipleSelectFilterWidget {
cnt += required_resources[resource];
}
- if (cnt > 1 && hostname && image) {
+ if (cnt > 1 && hostname) {
hostname.readOnly = true;
- image.disabled = true;
+ // we only disable hostname modification because there is no sane case where you want all hosts to have the same hostname
+ // image is still allowed to be set across all hosts, but is filtered to the set of images that are commonly applicable still
+ // if no images exist that would apply to all hosts in a pod, then the user is restricted to not setting an image
+ // and the default image for each host is used
}
this.updateAvailibility();