diff --git a/coreplugins/dronedb/templates/app.html b/coreplugins/dronedb/templates/app.html index 76c69399..4f171d49 100644 --- a/coreplugins/dronedb/templates/app.html +++ b/coreplugins/dronedb/templates/app.html @@ -11,7 +11,7 @@ On this screen, you can provide the registry url and credentials to access Drone {% csrf_token %} {% include "app/plugins/templates/form.html" %} - + @@ -27,7 +27,7 @@ On this screen, you can provide the registry url and credentials to access Drone var alert = $("#alert-result").hide(); if (timeout != null) clearTimeout(timeout); - $("#btnVerify").prop('disabled', + $("#btnVerify,button[type=submit]").prop('disabled', $("input[name=registry_url]").val().length == 0 || $("input[name=username]").val().length == 0 || $("input[name=password]").val().length == 0);