File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
resources/hudson/model/View Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -575,18 +575,9 @@ public SearchGroup getSearchGroup() {
575575
576576 /**
577577 * Returns the transient {@link Action}s associated with the top page.
578- *
579- * <p>
580- * If views don't want to show top-level actions, this method
581- * can be overridden to return different objects.
582- *
583- * @see Jenkins#getActions()
584578 */
585579 public List <Action > getActions () {
586- List <Action > result = new ArrayList <>();
587- result .addAll (getOwner ().getViewActions ());
588- result .addAll (TransientViewActionFactory .createAllFor (this ));
589- return result ;
580+ return TransientViewActionFactory .createAllFor (this );
590581 }
591582
592583 /**
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ THE SOFTWARE.
6060 <st : include page =" sidepanel2.jelly" optional =" true" />
6161
6262 <st : include page =" tasks-bottom.jelly" it =" ${it.owner}" optional =" true" />
63+ <t : actions />
6364 </l : tasks >
6465 <j : forEach var =" w" items =" ${it.widgets}" >
6566 <j : set var =" view" value =" ${it}" /><!-- expose the view that's rendering this sidepanel to the widget -->
You can’t perform that action at this time.
0 commit comments