diff --git a/gerrit-gwtui/src/main/java/com/google/gerrit/client/change/Actions.java b/gerrit-gwtui/src/main/java/com/google/gerrit/client/change/Actions.java index 1cc0cff084..948ca3c559 100644 --- a/gerrit-gwtui/src/main/java/com/google/gerrit/client/change/Actions.java +++ b/gerrit-gwtui/src/main/java/com/google/gerrit/client/change/Actions.java @@ -193,7 +193,7 @@ class Actions extends Composite { @UiHandler("revert") void onRevert(ClickEvent e) { - RevertAction.call(cherrypick, changeId, revision, project, subject); + RevertAction.call(revert, changeId, revision, project, subject); } private static void a2b(NativeMap actions, String a, Button b) {