Bug 7391: Return to cart after adding items to a list
If you select items in your cart and choose to add them to a list, upon
completion of the transaction the pop-up window, which was originally
opened for the cart, is closed. Instead you should be returned to the
Cart view.
Test plan:
Confirm the expected behavior.
Confirmed.
Signed-off-by: Marc Veron <veron@veron.ch>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 5502cd1623)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
This commit is contained in:
parent
a04e8a3390
commit
364680635b
|
|
@ -424,7 +424,11 @@ function openBiblio(dest,biblionumber) {
|
|||
function addSelToShelf() {
|
||||
var items = document.getElementById('records').value;
|
||||
if(items){
|
||||
document.location = "/cgi-bin/koha/opac-addbybiblionumber.pl?biblionumber="+items;
|
||||
var iW = 820;
|
||||
var iH = 450;
|
||||
var optWin = "status=yes,scrollbars=yes,resizable=yes,toolbar=no,location=yes,height="+iH+",width="+iW;
|
||||
var loc = "/cgi-bin/koha/opac-addbybiblionumber.pl?biblionumber="+items;
|
||||
var shelf = open(loc, "shelf", optWin);
|
||||
} else {
|
||||
alert(MSG_NO_RECORD_SELECTED);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue