code: private void reloadForLocaleCompareRoot(final EditorMode editorMode) {
  
          final String localeRootIdStr = CmsJsUtil.getAttributeString(
              CmsJsUtil.getWindow(),
              CmsGwtConstants.VAR_LOCALE_ROOT);
          CmsRpcAction<String> action = new CmsRpcAction<String>() {
  
              @SuppressWarnings("synthetic-access")
              @Override
              public void execute() {
  
                  start(0, false);
                  m_controller.getService().prepareReloadSitemap(new CmsUUID(localeRootIdStr), editorMode, this);
              }
  
              @Override
              protected void onResponse(String result) {
  
                  stop(false);
                  if (result != null) {
                      Window.Location.assign(result);
                  } else {
                      Window.Location.reload();
                  }
              }
          };
          action.execute();
  
      }
docs: Reloads the sitemap editor for the currently selected locale when leaving locale compare mode.<p>
  
  @param editorMode the new editor mode