---
opac/opac-addbybiblionumber.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opac/opac-addbybiblionumber.pl b/opac/opac-addbybiblionumber.pl
index ace334e..c1ebacf 100755
--- a/opac/opac-addbybiblionumber.pl
+++ b/opac/opac-addbybiblionumber.pl
@@ -66,7 +66,7 @@ if ($newvirtualshelf) {
AddBibliosToShelf($shelfnumber, @biblionumber);
RefreshShelvesSummary($query->cookie("CGISESSID"),$loggedinuser,($loggedinuser
== -1 ? 20 : 10));
print $query->header;
- print "<html><body
onload=\"window.opener.location.reload(true);self.close();\"></body></html>";
+ print "<html><meta http-equiv=\"refresh\"
content=\"0;url=opac-shelves.pl?display=privateshelves\" /><body
onload=\"window.opener.location.reload(true);self.close();\"></body></html>";
exit;
}
@@ -80,7 +80,7 @@ if ($shelfnumber && ($shelfnumber != -1)) {
AddBibliosToShelf($shelfnumber,@biblionumber);
RefreshShelvesSummary($query->cookie("CGISESSID"),$loggedinuser,($loggedinuser
== -1 ? 20 : 10));
print $query->header;
- print "<html><body
onload=\"window.opener.location.reload(true);self.close();\"></body></html>";
+ print "<html><meta http-equiv=\"refresh\"
content=\"0;url=opac-shelves.pl?display=privateshelves\" /><body
onload=\"window.opener.location.reload(true);self.close();\"></body></html>";
exit;
}
else {
--
1.5.6.5
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches