sapui5 - Page should not active when reload -


i new openui5 , developing web application. page should not active when reload page. searching using openui5 not getting idea that.

please me anyone.

use session storage check whether page reloaded , if reloaded kill it. example assuming want kill page:

    ostorage = jquery.sap.storage("session");     $(window).load(function() {         if(!ostorage.get("is_reloaded")){            ostorage.put("is_reloaded",false);         }          checknoofvisits();     });      function checknoofvisits(){     if(ostorage.get("is_reloaded")){      window.stop();     }     else{     ostorage.put("is_reloaded",true);     } } 

Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -