Bugzilla – Attachment 37280 Details for
Bug 7391
Return to cart after adding items to a list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7391: Return to cart after adding items to a list
Bug-7391-Return-to-cart-after-adding-items-to-a-li.patch (text/plain), 1.42 KB, created by
Jonathan Druart
on 2015-03-26 15:11:19 UTC
(
hide
)
Description:
Bug 7391: Return to cart after adding items to a list
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-03-26 15:11:19 UTC
Size:
1.42 KB
patch
obsolete
>From 1256611961411e956ee0f26c06fa14bbb66c41d3 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Thu, 26 Mar 2015 16:10:11 +0100 >Subject: [PATCH] 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. >--- > koha-tmpl/opac-tmpl/bootstrap/js/basket.js | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/js/basket.js b/koha-tmpl/opac-tmpl/bootstrap/js/basket.js >index 675dc0a..6db26d1 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/js/basket.js >+++ b/koha-tmpl/opac-tmpl/bootstrap/js/basket.js >@@ -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); > } >-- >2.1.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7391
:
37280
|
37283
|
37316