diff --git a/app/templates/advanced_config.html b/app/templates/advanced_config.html
index 15c361d3e..2efda5f7a 100644
--- a/app/templates/advanced_config.html
+++ b/app/templates/advanced_config.html
@@ -209,6 +209,28 @@
Cloud Provider:
});
}
+ function selectedSiteImageChanged() {
+ // disable the other select of AppDB images
+ var selected = $("#selectedSiteImage option:selected" ).text();
+ if (selected == " - Select one image - ") {
+ $("#selectedImage").prop('disabled', false);
+ } else {
+ $("#selectedImage").prop('disabled', true);
+ }
+ activateSubmit()
+ }
+
+ function selectedImageChanged() {
+ // disable the other select of site images
+ var selected = $("#selectedImage option:selected" ).text();
+ if (selected == " - Select one image - ") {
+ $("#selectedSiteImage").prop('disabled', false);
+ } else {
+ $("#selectedSiteImage").prop('disabled', true);
+ }
+ activateSubmit()
+ }
+
function activateSubmit() {
$(".submitBtn").attr("disabled", false);
}
@@ -252,7 +274,7 @@ Cloud Provider:
-