aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakozak2011-11-21 05:33:51 (EST)
committerWinston Prakash2011-12-01 20:46:47 (EST)
commit22a84e6119d57feaa479e8d8d7058e297156d0cf (patch)
tree43fc49f259dce48f3c3f5e9a9d56e455907623f8
parent64986a729cae3156ca606cf2880f4a89993f55cf (diff)
downloadorg.eclipse.hudson.core-22a84e6119d57feaa479e8d8d7058e297156d0cf.zip
org.eclipse.hudson.core-22a84e6119d57feaa479e8d8d7058e297156d0cf.tar.gz
org.eclipse.hudson.core-22a84e6119d57feaa479e8d8d7058e297156d0cf.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")