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

[wwpass-plugin] Extract inline script block in com/wwpass/wwpassauth/WwpassUserProperty/config.jelly

XMLWordPrintable

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

      Problem

      == Inline Script Block
      Line: 35
      ----
      <script type="text/javascript">
                  Behaviour.register({
                      "INPUT.wwpass-delete" : function (e) {
                          makeButton(e,function(e) {
                              Element.remove(findAncestor(e.target,"A")); // delete the whole LI
                              document.getElementById('finish-remove').innerHTML = "Please, press on the Save or Apply button to confirm."
                          });
                      }
                  });
              </script>
      ----
      

      Solution

      https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks

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

              Created:
              Updated: