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

Use Hudson(main page) actions for ListView and MyView too

    • Icon: Patch Patch
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      ListView and MyView don't have getActions. If a plugin adds a link on the main
      Hudson page then it would be nice to appears also on view tabs, which are very
      similar to the main page. This patch simply returns
      Hudson.getInstance().getActions() for ListView and MyView actions.

          [JENKINS-2713] Use Hudson(main page) actions for ListView and MyView too

          Alan Harder added a comment -

          Also looks like hudson/model/MyView.java needs the svn:eol-style property set to
          native.

          Alan Harder added a comment - Also looks like hudson/model/MyView.java needs the svn:eol-style property set to native.

          Alan Harder added a comment -

          Created an attachment (id=463)
          svn diff

          Alan Harder added a comment - Created an attachment (id=463) svn diff

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/hudson/main/core/src/main/java/hudson/model/ListView.java
          trunk/hudson/main/core/src/main/java/hudson/model/MyView.java
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=13650
          Log:
          [FIXED JENKINS-2713] In 1.265.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/core/src/main/java/hudson/model/ListView.java trunk/hudson/main/core/src/main/java/hudson/model/MyView.java trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=13650 Log: [FIXED JENKINS-2713] In 1.265.

            Unassigned Unassigned
            mindless Alan Harder
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: