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

XMLWordPrintable

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: 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

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

              Created:
              Updated: