Clean query string when switching pages
If we load a page without a query string, such as Projects->List, My->Changes, or Settings, it might be confusing to show the old query string from the previous page. The query string is now cleared out when switching pages, leaving the help text visible. Change-Id: Id4f211d4f874b1acd0c4d6533eee9984b42cc41e
This commit is contained in:
@@ -51,6 +51,7 @@ public abstract class Screen extends View {
|
|||||||
if (header == null) {
|
if (header == null) {
|
||||||
onInitUI();
|
onInitUI();
|
||||||
}
|
}
|
||||||
|
Gerrit.setQueryString(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void registerKeys() {
|
public void registerKeys() {
|
||||||
|
|||||||
Reference in New Issue
Block a user