projects
/
koha_gimpoz
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8fb4f21
)
Notifying the user when they have selected no items and clicked 'Add to list.'
author
Owen Leonard
<oleonard@myacpl.org>
Tue, 25 Mar 2008 20:22:44 +0000
(15:22 -0500)
committer
Joshua Ferraro
<jmf@liblime.com>
Tue, 1 Apr 2008 11:41:13 +0000
(06:41 -0500)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
koha-tmpl/opac-tmpl/prog/en/js/basket.js
patch
|
blob
|
history
diff --git
a/koha-tmpl/opac-tmpl/prog/en/js/basket.js
b/koha-tmpl/opac-tmpl/prog/en/js/basket.js
index
56ea21b
..
8bc731c
100644
(file)
--- a/
koha-tmpl/opac-tmpl/prog/en/js/basket.js
+++ b/
koha-tmpl/opac-tmpl/prog/en/js/basket.js
@@
-383,7
+383,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;
+ } else {
+ alert(MSG_NO_RECORD_SELECTED);
+ }
}
/// vShelfAdd() builds url string for multiple-biblio adds.