diff --git a/plugins/CoreHome/angularjs/history/history.service.js b/plugins/CoreHome/angularjs/history/history.service.js index bcaaa6a5987f848643401151bc477f52d6aacdda..c95a15322c83af88c762924ffb74105ccd90a6e3 100644 --- a/plugins/CoreHome/angularjs/history/history.service.js +++ b/plugins/CoreHome/angularjs/history/history.service.js @@ -84,8 +84,10 @@ hash = hash.substring(1); } } - - if (hash) { + + if (location.hash === '#?' + hash) { + loadCurrentPage(); // it would not trigger a location change success event as URL is the same, call it manually + } else if (hash) { $location.search(hash); } else { // NOTE: this works around a bug in angularjs. when unsetting the hash (ie, removing in the URL), @@ -98,4 +100,4 @@ setTimeout(function () { $rootScope.$apply(); }, 1); } } -})(window, jQuery, broadcast); \ No newline at end of file +})(window, jQuery, broadcast);