(bug #3363) do not reload parent if you add a biblio in shelf
this patch make the script not reloading the parent if the user add a biblio in a already existing shelf(useless). Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
45069c1ca4
commit
ba6c8f1dd5
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue