diff --git a/server/src/main/resources/buildServerResources/projectConfigurationSettings.js b/server/src/main/resources/buildServerResources/projectConfigurationSettings.js index b59b602..395255a 100644 --- a/server/src/main/resources/buildServerResources/projectConfigurationSettings.js +++ b/server/src/main/resources/buildServerResources/projectConfigurationSettings.js @@ -72,10 +72,12 @@ BS.ProjectConfigurationSettings = OO.extend(BS.PluginPropertiesForm, OO.extend(B onCompleteSave: function (form, responseXML, err) { err = BS.XMLResponse.processErrors(responseXML, {}, BS.PluginPropertiesForm.propertiesErrorsHandler); form.setSaving(false); - form.enable(); - // if (!err) { - // location.reload(); - // } + if (err) { + form.enable(); + form.focusFirstErrorField(); + } else { + BS.reload(true); + } } })); return false; diff --git a/server/src/main/resources/buildServerResources/projectConfigurationSettings.jsp b/server/src/main/resources/buildServerResources/projectConfigurationSettings.jsp index 1b02ad1..aed9aa4 100644 --- a/server/src/main/resources/buildServerResources/projectConfigurationSettings.jsp +++ b/server/src/main/resources/buildServerResources/projectConfigurationSettings.jsp @@ -15,8 +15,11 @@ Send build trace data to an OpenTelemetry collector, helping you visualize how to optimize your builds and their dependency trees + + +
-
+ @@ -130,9 +133,8 @@
- <%-- todo: save progress doesn't seem to work --%> - Save +