[open-ils-commits] r809 - in conifer/branches/rel_1_6_0/web/opac/skin: default/js uwin/js (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Mar 2 09:42:38 EST 2010
Author: dbs
Date: 2010-03-02 09:42:36 -0500 (Tue, 02 Mar 2010)
New Revision: 809
Modified:
conifer/branches/rel_1_6_0/web/opac/skin/default/js/rdetail.js
conifer/branches/rel_1_6_0/web/opac/skin/uwin/js/rdetail.js
Log:
Enable bookbag selector in barcode search results
Modified: conifer/branches/rel_1_6_0/web/opac/skin/default/js/rdetail.js
===================================================================
--- conifer/branches/rel_1_6_0/web/opac/skin/default/js/rdetail.js 2010-03-02 00:13:24 UTC (rev 808)
+++ conifer/branches/rel_1_6_0/web/opac/skin/default/js/rdetail.js 2010-03-02 14:42:36 UTC (rev 809)
@@ -435,10 +435,13 @@
$('rdetail_img_link').setAttribute('href', buildISBNSrc(cleanISBN(record.isbn()), 'large'));
G.ui.rdetail.image.setAttribute("src", buildISBNSrc(cleanISBN(record.isbn())));
+
+ // Set extras before recordDrawn event to enable bookbags in barcode searches
+ rdetailSetExtrasSelector();
+
runEvt("rdetail", "recordDrawn");
recordsCache.push(record);
- rdetailSetExtrasSelector();
var breq = new Request(FETCH_BRE, [getRid()]);
breq.callback( rdetailCheckDeleted );
Modified: conifer/branches/rel_1_6_0/web/opac/skin/uwin/js/rdetail.js
===================================================================
--- conifer/branches/rel_1_6_0/web/opac/skin/uwin/js/rdetail.js 2010-03-02 00:13:24 UTC (rev 808)
+++ conifer/branches/rel_1_6_0/web/opac/skin/uwin/js/rdetail.js 2010-03-02 14:42:36 UTC (rev 809)
@@ -403,11 +403,13 @@
$('rdetail_img_link').setAttribute('href', buildISBNSrc(cleanISBN(record.isbn()), 'large'));
G.ui.rdetail.image.setAttribute("src", buildISBNSrc(cleanISBN(record.isbn())));
+
+ // Set extras before recordDrawn event to enable bookbags in barcode searches
+ rdetailSetExtrasSelector();
+
runEvt("rdetail", "recordDrawn");
recordsCache.push(record);
- rdetailSetExtrasSelector();
-
var breq = new Request(FETCH_BRE, [getRid()]);
breq.callback( rdetailCheckDeleted );
breq.send();
More information about the open-ils-commits
mailing list