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

[hp-application-automation-tools-plugin] Extract inline event handlers in com/microfocus/application/automation/tools/model/AutEnvironmentModel/config.jelly

XMLWordPrintable

      Problems

      == Inline Event Handler
      Line: 129
      ----
      <f:checkbox field="createNewAutEnvConf" title="Create a new configuration named: " id="autEnv.createNewAutEnvConf"
                                  checked="${instance.createNewAutEnvConf}"
                                  onclick="$('autEnv.useExistingAutEnvConf').checked=false; $('autEnv.existingConfigurationId').disabled=true;$('autEnv.newConfigurationName').disabled=null"/>
      ----
      
      == Inline Event Handler
      Line: 138
      ----
      <f:checkbox field="useExistingAutEnvConf" title="Use an existing configuration with ID: "
                                  id="autEnv.useExistingAutEnvConf" checked="${instance.useExistingAutEnvConf}"
                                  onclick="$('autEnv.createNewAutEnvConf').checked=false; $('autEnv.newConfigurationName').disabled=true; $('autEnv.existingConfigurationId').disabled=null"/>
      ----
      

      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: