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:
Shawn Pearce
2013-10-11 15:22:17 -07:00
parent a1f315bd03
commit 94e77aa846
4 changed files with 7 additions and 22 deletions

View File

@@ -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() {