QuickApprove: Publish drafts on all revisions
Bug: issue 1100 Change-Id: I7c5aeb44c273b1549c93270980e80444de18fc08
This commit is contained in:
parent
5ecc22535f
commit
5a5062f78e
@ -19,6 +19,7 @@ import com.google.gerrit.client.changes.ChangeApi;
|
||||
import com.google.gerrit.client.changes.ChangeInfo;
|
||||
import com.google.gerrit.client.changes.ChangeInfo.LabelInfo;
|
||||
import com.google.gerrit.client.changes.ReviewInput;
|
||||
import com.google.gerrit.client.changes.ReviewInput.DraftHandling;
|
||||
import com.google.gerrit.client.rpc.GerritCallback;
|
||||
import com.google.gerrit.client.rpc.Natives;
|
||||
import com.google.gerrit.common.PageLinks;
|
||||
@ -72,6 +73,7 @@ class QuickApprove extends Button implements ClickHandler {
|
||||
changeId = info.legacy_id();
|
||||
revision = commit;
|
||||
input = ReviewInput.create();
|
||||
input.drafts(DraftHandling.PUBLISH_ALL_REVISIONS);
|
||||
input.label(qName, qValue);
|
||||
replyAction = action;
|
||||
setText(qName + qValueStr);
|
||||
|
Loading…
Reference in New Issue
Block a user