From 4307c8ac2bdbaf38136b6ddce7c19b72b4cd26c9 Mon Sep 17 00:00:00 2001 From: Grigory Chernyshev Date: Mon, 11 Apr 2016 23:34:33 +0200 Subject: [PATCH] Fix selecting previous value in run dialog. --- .../web/parameters/provider/WebParameterProvider.java | 5 ----- .../mail/teamcity/web/parameters/jsp/webParameterControl.jsp | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main/java/ru/mail/teamcity/web/parameters/provider/WebParameterProvider.java b/src/main/java/ru/mail/teamcity/web/parameters/provider/WebParameterProvider.java index 4eed5c1..5c60aeb 100644 --- a/src/main/java/ru/mail/teamcity/web/parameters/provider/WebParameterProvider.java +++ b/src/main/java/ru/mail/teamcity/web/parameters/provider/WebParameterProvider.java @@ -66,11 +66,6 @@ public ModelAndView renderControl(@NotNull HttpServletRequest request, @NotNull Map config = context.getDescription().getParameterTypeArguments(); - - - - //((ParameterContextFactory.ParameterRenderContextBase) context).myParameters; - String url = config.get(URL_PARAMETER); String format = config.get(FORMAT_PARAMETER); Boolean enableEditOnError; diff --git a/src/main/resources/buildServerResources/ru/mail/teamcity/web/parameters/jsp/webParameterControl.jsp b/src/main/resources/buildServerResources/ru/mail/teamcity/web/parameters/jsp/webParameterControl.jsp index e87e453..af93aca 100644 --- a/src/main/resources/buildServerResources/ru/mail/teamcity/web/parameters/jsp/webParameterControl.jsp +++ b/src/main/resources/buildServerResources/ru/mail/teamcity/web/parameters/jsp/webParameterControl.jsp @@ -52,7 +52,7 @@