Revision 41562
Added by Stefania Martziou about 8 years ago
MonitorFundingRequestsWidget.java | ||
---|---|---|
628 | 628 |
RequestInfoElement.ActionListener actionListener = new RequestInfoElement.ActionListener() { |
629 | 629 |
|
630 | 630 |
@Override |
631 |
public void actionHappened(boolean succeeded, Request.RequestStatus requestStatus, String comments) {
|
|
631 |
public void actionHappened(boolean succeeded, Request.RequestStatus requestStatus, Comment comment) {
|
|
632 | 632 |
|
633 | 633 |
accordion.getHeading().getElement().scrollIntoView(); |
634 | 634 |
if(succeeded) { |
... | ... | |
653 | 653 |
|
654 | 654 |
requestInfo.setStatus(requestStatus); |
655 | 655 |
|
656 |
if(comments!=null)
|
|
657 |
requestInfo.getComments().add(new Comment(GoldOAPortal.currentUser, new Date(), comments));
|
|
656 |
if(comment!=null) |
|
657 |
requestInfo.getComments().add(comment);
|
|
658 | 658 |
|
659 | 659 |
addNewRequestInfo(accordion, requestInfo); |
660 | 660 |
} |
Also available in: Unified diff
Added license info in request details, and also added comment templates for rejected requests