diff --git a/lib/system/lib/system.js b/lib/system/lib/system.js index 9a6667d..039438b 100644 --- a/lib/system/lib/system.js +++ b/lib/system/lib/system.js @@ -232,6 +232,8 @@ SYSTEM.prototype.log_error = function(msg){ //load a pagestatewith given id SYSTEM.prototype.load = function(id,forced){ this.log(this.LOG_START,'load page: '+id+(forced ? ' - forced' : '')); + if(system.hash_change){ + system.hash_change(id);} if(!forced && this.state_info[id]){ this.handle_call_pages(this.state_info[id],id,forced,true); }else {