Fix RpcStatus to display "Working..." when header is hidden
Simplify the DOM structure and place "Working..." at the top level of the document, positioned using fixed positioning. Now it is always visible when saving a draft comment is slow. Change-Id: I106dece4265b51b4e38585c03026b158d5876761
This commit is contained in:
@@ -560,7 +560,7 @@ public class Gerrit implements EntryPoint {
|
||||
};
|
||||
gBody.add(body);
|
||||
|
||||
RpcStatus.INSTANCE = new RpcStatus(topMenu);
|
||||
RpcStatus.INSTANCE = new RpcStatus();
|
||||
JsonUtil.addRpcStartHandler(RpcStatus.INSTANCE);
|
||||
JsonUtil.addRpcCompleteHandler(RpcStatus.INSTANCE);
|
||||
JsonUtil.setDefaultXsrfManager(new XsrfManager() {
|
||||
|
Reference in New Issue
Block a user