diff --git a/appointment.php b/appointment.php index 4289884e..75830095 100644 --- a/appointment.php +++ b/appointment.php @@ -104,7 +104,7 @@ if(isset($_POST['start']) && isset($_POST['end']) && isset($_POST['day']) && iss $db->CompleteTrans(); - xhtml_head(T_("Appointment made"),true,false,false,"onload='top.close()'"); + xhtml_head(T_("Appointment made"),true,false,false,"onload='parent.closePopup();'"); xhtml_foot(); exit(); }