var page = iframe.contentWindow.location.href;
console.debug('egEmbedFrameLoader(): ' + page);
- $scope.prev_page = function() {
- iframe.contentWindow.history.back();
- }
+ // reload ifram page w/o reloading the entire UI
$scope.reload_page = function() {
iframe.contentWindow.location.replace(
iframe.contentWindow.location);
}
- $scope.next_page = function() {
- iframe.contentWindow.history.forward();
- }
// tell the iframe'd window its inside the staff client
iframe.contentWindow.IAMXUL = true;