this patch make the script not reloading the parent if the user add a biblio in 
a already existing shelf(useless).
---
 opac/opac-addbybiblionumber.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opac/opac-addbybiblionumber.pl b/opac/opac-addbybiblionumber.pl
index c1ebacf..9e67b12 100755
--- a/opac/opac-addbybiblionumber.pl
+++ b/opac/opac-addbybiblionumber.pl
@@ -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><meta http-equiv=\"refresh\" 
content=\"0;url=opac-shelves.pl?display=privateshelves\" /><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=\"self.close();\"></body></html>";
        exit;
 }
 else {
-- 
1.6.0.4

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to