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

[computer-queue-plugin] Extract inline script block in org/jenkinsci/plugins/computerqueue/ComputerQueue/queue.jelly

      Problem

      == Inline Script Block
      Line: 59
      ----
      <script defer="defer">
            <!-- delegate the updation on updateQueue action -->
            refreshPart('buildQueue',"./updateQueue/ajaxBuildQueue");
          </script>
      ----
      

      Solution

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

          [JENKINS-74505] [computer-queue-plugin] Extract inline script block in org/jenkinsci/plugins/computerqueue/ComputerQueue/queue.jelly

          Basil Crow created issue -
          Basil Crow made changes -
          Description Original: h4. Problems

          {noformat}
          == Inline Script Block
          Line: 59
          ----
          <script defer="defer">
                <!-- delegate the updation on updateQueue action -->
                refreshPart('buildQueue',"./updateQueue/ajaxBuildQueue");
              </script>
          ----

          == Inline Script Block
          Line: 59
          ----
          <script defer="defer">
                <!-- delegate the updation on updateQueue action -->
                refreshPart('buildQueue',"./updateQueue/ajaxBuildQueue");
              </script>
          ----
          {noformat}

          h4. Solution

          [https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks]
          New: h4. Problem

          {noformat}
          == Inline Script Block
          Line: 59
          ----
          <script defer="defer">
                <!-- delegate the updation on updateQueue action -->
                refreshPart('buildQueue',"./updateQueue/ajaxBuildQueue");
              </script>
          ----
          {noformat}

          h4. Solution

          [https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks]
          Summary Original: [computer-queue-plugin] Extract inline script blocks in org/jenkinsci/plugins/computerqueue/ComputerQueue/queue.jelly New: [computer-queue-plugin] Extract inline script block in org/jenkinsci/plugins/computerqueue/ComputerQueue/queue.jelly

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

              Created:
              Updated: