| author | akozak | 2011-11-23 09:02:04 (EST) |
|---|---|---|
| committer | Winston Prakash | 2011-12-01 20:47:12 (EST) |
| commit | 99674f3f5fba821b62e9593a350392c8656d34f9 (patch) (side-by-side diff) | |
| tree | ad7a5cc8c0542a68031fbabd47cd7ff24f1446f3 | |
| parent | ec69327e38830fbbe7a40a82e06e152c4fec9bcc (diff) | |
| download | org.eclipse.hudson.core-99674f3f5fba821b62e9593a350392c8656d34f9.zip org.eclipse.hudson.core-99674f3f5fba821b62e9593a350392c8656d34f9.tar.gz org.eclipse.hudson.core-99674f3f5fba821b62e9593a350392c8656d34f9.tar.bz2 | |
Resolve issue: section element wasn't opened during page reload
Signed-off-by: Winston Prakash <winston.prakash@gmail.com>
| -rw-r--r-- | hudson-war/src/main/webapp/scripts/hudson-behavior.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hudson-war/src/main/webapp/scripts/hudson-behavior.js b/hudson-war/src/main/webapp/scripts/hudson-behavior.js index bdb9002..1bbc9ec 100644 --- a/hudson-war/src/main/webapp/scripts/hudson-behavior.js +++ b/hudson-war/src/main/webapp/scripts/hudson-behavior.js @@ -760,7 +760,7 @@ var hudsonRules = { "TR.optional-block-start": function(e) { // see optionalBlock.jelly // set start.ref to checkbox in preparation of row-set-end processing - var checkbox = e.firstChild.firstChild; + var checkbox = e.firstChild.getElementsByTagName('input')[0]; e.setAttribute("ref", checkbox.id = "cb"+(iota++)); }, @@ -786,7 +786,7 @@ var hudsonRules = { // this is suffixed by a pointless string so that two processing for optional-block-start // can sandwitch row-set-end // this requires "TR.row-set-end" to mark rows - var checkbox = e.firstChild.firstChild; + var checkbox = e.firstChild.getElementsByTagName('input')[0]; updateOptionalBlock(checkbox,false); }, |

