From 87118852a5bef9485d0b700b9bf5b00bc93091d3 Mon Sep 17 00:00:00 2001
From: sunsetsystems
Date: Fri, 3 Aug 2007 15:05:12 +0000
Subject: [PATCH] updates for multiple browser window support
---
interface/billing/billing_report.php | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/interface/billing/billing_report.php b/interface/billing/billing_report.php
index 500015f47..2b9114acd 100644
--- a/interface/billing/billing_report.php
+++ b/interface/billing/billing_report.php
@@ -151,6 +151,7 @@ function set_button_states() {
// Process a click to go to an encounter.
function toencounter(pid, pname, enc, datestr) {
+ top.restoreSession();
var othername = (window.name == 'RTop') ? 'RBot' : 'RTop';
parent.left_nav.setPatient(pname,pid,'');
@@ -167,6 +168,7 @@ function toencounter(pid, pname, enc, datestr) {
// Process a click to go to patient demographics.
function topatient(pid) {
+ top.restoreSession();
var othername = (window.name == 'RTop') ? 'RBot' : 'RTop';
parent.frames[othername].location.href =
@@ -184,13 +186,13 @@ function topatient(pid) {
-
+
-
+
-