JIRA form template sets the id of the submit button to be the same as the value

XMLWordPrintable

    • 4

      The jira form template sets the submit button id like this:

      <input type="submit" name="<decorator:getProperty property="submitName" />" id="<decorator:getProperty property="submitName" />" value="<decorator:getProperty property="submitName" />"
      

      This means the id of the button will change depending on the user's locale which makes the 'id' pretty useless if you're trying to select the button via javascript!

              Assignee:
              Chris Mountford
              Reporter:
              Andreas Knecht (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: