]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Don't make OpenLibrary requests without an ID
authorDan Scott <dan@coffeecode.net>
Thu, 2 Jun 2011 05:42:49 +0000 (01:42 -0400)
committerBill Erickson <berick@esilibrary.com>
Tue, 21 Jun 2011 19:17:35 +0000 (15:17 -0400)
commit62ddc37d78e07d3aa55b1003b187179f8eedc22a
tree50150042cc06f1a711b4785c770d8cc5f87ffae0
parent782410700751b4104d81413bce6dd693a067e286
Don't make OpenLibrary requests without an ID

It is rather silly to make requests if you have not pulled any IDs out
of the records to pass along to OpenLibrary, so do not do that. Also
refactor and add a bit more defensiveness.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/web/opac/skin/default/js/result_common.js