cjo9900 commented on Bug JENKINS-14495

digging a bit deeper into the generated element that is shown in the web ui, shows that the elements that the optionalBlock controls along with itself, do not have any ref or nameref attributes.

from 1.473 the items are defined as

<tr class="optional-block-start row-set-start" hashelp="true" ref="cb24">
    <input name="_.block" class=" " _onclick_="_javascript_:updateOptionalBlock(this,true)" type="checkbox" id="cb24">

    <tr nameref="cb24" style="display: none; ">
...
        <td class="setting-main">
        <select name="buildStepFailureThreshold" class="setting-input">
...
<tr class="row-set-end rowvg-end optional-block-end">

when seen from 1.477-SNAPSHOT (also in 1.474-6)

<tr class="optional-block-start row-set-start" hashelp="true">
    <input name="_.block" class=" " _onclick_="_javascript_:updateOptionalBlock(this,true)" type="checkbox">

    <tr>
...
        <td class="setting-main">
        <select name="buildStepFailureThreshold" class="setting-input">
...
<tr class="row-set-end rowvg-end optional-block-end">

Looking elsewhere in the page the default TimerTrigger elements does have these ref elements defined.

Hope this information is useful to someone who knows more about how these page fragments are created.

Chris.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to