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

[favorite-view] Extract inline event handler in hudson/plugins/favoriteview/FavoriteViewsTabBar/viewTabs.jelly

      Problem

      == Inline Event Handler
      Line: 21
      ----
      <select name="viewSelect" 
          onChange="top.location.href = this.form.viewSelect.options[this.form.viewSelect.selectedIndex].value;
          return false;">
      ----
      

      Solution

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

          [JENKINS-74315] [favorite-view] Extract inline event handler in hudson/plugins/favoriteview/FavoriteViewsTabBar/viewTabs.jelly

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

          {noformat}
          == Inline Event Handler
          Line: 21
          ----
          <select name="viewSelect"
              onChange="top.location.href = this.form.viewSelect.options[this.form.viewSelect.selectedIndex].value;
              return false;">
          ----

          == Inline Event Handler
          Line: 21
          ----
          <select name="viewSelect"
              onChange="top.location.href = this.form.viewSelect.options[this.form.viewSelect.selectedIndex].value;
              return false;">
          ----
          {noformat}

          h4. Solution

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

          {noformat}
          == Inline Event Handler
          Line: 21
          ----
          <select name="viewSelect"
              onChange="top.location.href = this.form.viewSelect.options[this.form.viewSelect.selectedIndex].value;
              return false;">
          ----
          {noformat}

          h4. Solution

          [https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers]
          Summary Original: [favorite-view] Extract inline event handlers in hudson/plugins/favoriteview/FavoriteViewsTabBar/viewTabs.jelly New: [favorite-view] Extract inline event handler in hudson/plugins/favoriteview/FavoriteViewsTabBar/viewTabs.jelly
          Markus Winter made changes -
          Assignee New: Markus Winter [ mawinter69 ]
          Markus Winter made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Markus Winter made changes -
          Remote Link New: This issue links to "PR-7 (Web Link)" [ 30563 ]

            mawinter69 Markus Winter
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: