Comment why followup action is hardcoded inside ActionJson
Change-Id: I5fc116148cb4a8d361ae467a0016791db45dbc26
This commit is contained in:
@@ -73,7 +73,10 @@ public class ActionJson {
|
|||||||
userProvider)) {
|
userProvider)) {
|
||||||
out.put(d.getId(), new ActionInfo(d));
|
out.put(d.getId(), new ActionInfo(d));
|
||||||
}
|
}
|
||||||
// TODO(sbeller): why do we need to treat followup specially here?
|
|
||||||
|
// The followup action is a client-side only operation that does not
|
||||||
|
// have a server side handler. It must be manually registered into the
|
||||||
|
// resulting action map.
|
||||||
if (ctl.getChange().getStatus().isOpen()) {
|
if (ctl.getChange().getStatus().isOpen()) {
|
||||||
UiAction.Description descr = new UiAction.Description();
|
UiAction.Description descr = new UiAction.Description();
|
||||||
PrivateInternals_UiActionDescription.setId(descr, "followup");
|
PrivateInternals_UiActionDescription.setId(descr, "followup");
|
||||||
|
Reference in New Issue
Block a user