Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakozak2011-11-24 09:17:32 -0500
committerWinston Prakash2011-12-01 20:47:27 -0500
commitee949b7379d8724cf7150b877bd78cede65f5679 (patch)
treeda94dbf90a2f3f67802b9b32a6ea8035f589da3a /hudson-core/src/main/resources/hudson
parentc840a8144eb3ddc99385f11a70bd0e0afe9739a4 (diff)
downloadorg.eclipse.hudson.core-ee949b7379d8724cf7150b877bd78cede65f5679.tar.gz
org.eclipse.hudson.core-ee949b7379d8724cf7150b877bd78cede65f5679.tar.xz
org.eclipse.hudson.core-ee949b7379d8724cf7150b877bd78cede65f5679.zip
Fixed highlighting of the parameters in case of cascading overriding.
Signed-off-by: Winston Prakash <winston.prakash@gmail.com>
Diffstat (limited to 'hudson-core/src/main/resources/hudson')
-rw-r--r--hudson-core/src/main/resources/hudson/model/ParametersDefinitionProperty/config.jelly10
1 files changed, 6 insertions, 4 deletions
diff --git a/hudson-core/src/main/resources/hudson/model/ParametersDefinitionProperty/config.jelly b/hudson-core/src/main/resources/hudson/model/ParametersDefinitionProperty/config.jelly
index 2a2da3e4..de2f64e3 100644
--- a/hudson-core/src/main/resources/hudson/model/ParametersDefinitionProperty/config.jelly
+++ b/hudson-core/src/main/resources/hudson/model/ParametersDefinitionProperty/config.jelly
@@ -9,7 +9,7 @@
#
# Contributors:
#
-# Kohsuke Kawaguchi, Tom Huybrechts, Nikita Levyankov
+# Kohsuke Kawaguchi, Tom Huybrechts, Nikita Levyankov, Anton Kozak
#
#
#************************************************************************** -->
@@ -19,14 +19,16 @@
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
<j:set var="instancesProperty" value="${cu.getCopyOnWriteListProjectProperty(it, it.PARAMETERS_DEFINITION_JOB_PROPERTY_PROPERTY_NAME)}"/>
+ <j:set var="isParametersOverridden" value="${instancesProperty.isOverridden()}"/>
<f:optionalBlock name="parameterized" title="${%This build is parameterized}"
- isPropertyOverridden="${instancesProperty.isOverridden()}"
+ isPropertyOverridden="${isParametersOverridden}"
resetUrl="${jobUrl}/resetProjectProperty?propertyName=${instancesProperty.key}"
checked="${instance!=null}" help="/help/project-config/parameterized-build.html">
- <f:nested>
+ <f:nested isPropertyOverridden="${isParametersOverridden}">
<f:hetero-list name="parameter" hasHeader="true"
+ isPropertyOverridden="${isParametersOverridden}"
descriptors="${h.getParameterDescriptors()}" items="${instance.parameterDefinitions}"
addCaption="${%Add Parameter}" />
</f:nested>
</f:optionalBlock>
-</j:jelly>
+</j:jelly> \ No newline at end of file

Back to the top