aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakozak2011-11-21 05:33:51 (EST)
committerWinston Prakash2011-12-01 20:46:47 (EST)
commit875263fd8e6e19cf2fafc716c66cb4c4ff1c9fdd (patch)
tree7ee29186dfc24e0143d218b847740df470e9058a
parentf78aa24f8e799ae570410b3b9c30c38d429fc855 (diff)
downloadorg.eclipse.hudson.core-875263fd8e6e19cf2fafc716c66cb4c4ff1c9fdd.zip
org.eclipse.hudson.core-875263fd8e6e19cf2fafc716c66cb4c4ff1c9fdd.tar.gz
org.eclipse.hudson.core-875263fd8e6e19cf2fafc716c66cb4c4ff1c9fdd.tar.bz2
Resolve HUDSON-8998 (In a multi-configuration job expanding a second user defined axis to multi line doesn't work)
Signed-off-by: Winston Prakash <winston.prakash@gmail.com>
-rw-r--r--hudson-war/src/main/webapp/scripts/hudson-behavior.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/hudson-war/src/main/webapp/scripts/hudson-behavior.js b/hudson-war/src/main/webapp/scripts/hudson-behavior.js
index 9a0beca..bdb9002 100644
--- a/hudson-war/src/main/webapp/scripts/hudson-behavior.js
+++ b/hudson-war/src/main/webapp/scripts/hudson-behavior.js
@@ -1215,7 +1215,7 @@ function scrollIntoView(e) {
// used in expandableTextbox.jelly to change a input field into a text area
function expandTextArea(button,id) {
button.style.display="none";
- var field = document.getElementById(id);
+ var field = button.parentNode.parentNode.getElementsByTagName("input")[0];
var value = field.value.replace(/ +/g,'\n');
var n = field;
while(n.tagName!="TABLE")