Wrong button is passed to revert action handler

The revert action handler was being called with the cherry pick
button.

Change-Id: I65535fbeeccb92efc0a635bc21057faebb3f5ee5
This commit is contained in:
David Pursehouse 2014-01-27 18:34:12 +09:00
parent ecb03a6d70
commit d775312579

View File

@ -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<ActionInfo> actions, String a, Button b) {