Do not refresh by navigate notification.
[lgpl/argeo-commons.git] / org.argeo.cms.ui.rap / src / org / argeo / cms / web / CmsWebEntryPoint.java
index 4dd19caa2b5cb40be692dea2179e0b5414254f93..9dae30cb26416807b2a49f5b60b54b630d27cf39 100644 (file)
@@ -217,7 +217,7 @@ public class CmsWebEntryPoint implements EntryPoint, CmsView, BrowserNavigationL
        @Override
        public void navigated(BrowserNavigationEvent event) {
                setState(event.getState());
-               doRefresh();
+               //doRefresh();
        }
 
        @Override
@@ -231,6 +231,11 @@ public class CmsWebEntryPoint implements EntryPoint, CmsView, BrowserNavigationL
                eventAdmin.sendEvent(new Event(topic, properties));
        }
 
+       @Override
+       public void stateChanged(String state, String title) {
+               browserNavigation.pushState(state, title);
+       }
+
        /*
         * EntryPoint IMPLEMENTATION
         */