Support to navigate by keys to abandoned changes
Added support to navigate by keys ('g' then 'a')
to the 'All abandoned changes' screen to make
this screen directly accessible by keys.
Change-Id: I0748f952c1ff6f0e377eb67833e6e0f18d291f0f
Signed-off-by: Edwin Kempin <edwin.kempin@gmail.com>
This commit is contained in:
committed by
Shawn O. Pearce
parent
785a9090cd
commit
55661b1ca1
@@ -38,6 +38,12 @@ class JumpKeys {
|
||||
Gerrit.display(PageLinks.ALL_MERGED);
|
||||
}
|
||||
});
|
||||
jumps.add(new KeyCommand(0, 'a', Gerrit.C.jumpAllAbandoned()) {
|
||||
@Override
|
||||
public void onKeyPress(final KeyPressEvent event) {
|
||||
Gerrit.display(PageLinks.ALL_ABANDONED);
|
||||
}
|
||||
});
|
||||
|
||||
if (Gerrit.isSignedIn()) {
|
||||
jumps.add(new KeyCommand(0, 'i', Gerrit.C.jumpMine()) {
|
||||
|
||||
Reference in New Issue
Block a user