docs: private void refreshWorkspacesAndReloadNode(final String name, final String path,
              final boolean changeHistory) {
          showLoadIcon();
          console.jcrService().getWorkspaces(repository, new AsyncCallback<String[]>() {
              @Override
              public void onFailure(Throwable caught) {
                  hideLoadIcon();
                  RemoteException e = (RemoteException) caught;
                  SC.say(caught.getMessage());
                  if (e.code() == RemoteException.SECURITY_ERROR) {
                      console.loadRepositoriesList();
                  }
              }
  
              @Override
              public void onSuccess(String[] workspaces) {
                  wsp.setWorkspaceNames(workspaces);
                  getAndDisplayNode(path, changeHistory);
                  hideLoadIcon();
              }
          });
      }