Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-74275

[redmine] Extract inline event handlers in WEB-INF/classes/hudson/plugins/redmine/RedmineSecurityRealm/config.jelly

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • redmine-plugin

      Problems

      == Inline Event Handler
      Line: 6
      ----
      <f:radio name="authenticator.dbms" value="MySQL"
                           checked="${instance.dbms == 'MySQL' || empty instance.dbms}"
                           onclick="$('redmine.port').value='3306'" />
      ----
      
      == Inline Event Handler
      Line: 14
      ----
      <f:radio name="authenticator.dbms" value="PostgreSQL"
                           checked="${instance.dbms == 'PostgreSQL'}"
                           onclick="$('redmine.port').value='5432'" />
      ----
      
      == Inline Event Handler
      Line: 40
      ----
      <f:radio name="authenticator.version" value="1.2.0"
                           checked="${instance.version == '1.2.0' || empty instance.version}"
                           onclick="$('redmine.saltField').disabled=false" />
      ----
      
      == Inline Event Handler
      Line: 48
      ----
      <f:radio name="authenticator.version" value="1.1.3"
                           checked="${instance.version == '1.1.3'}"
                           onclick="$('redmine.saltField').disabled=true" />
      ----
      

      Solution

      https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers

            Unassigned Unassigned
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: