xul user is now shoved into the opac user's slot when in xul
[Evergreen.git] / Open-ILS / web / opac / skin / default / js / rdetail.js
index 1493f5b..de4ff47 100644 (file)
@@ -15,6 +15,7 @@ var numStatuses = null;
 
 function rdetailDraw() {
 
+
        copyRowParent = G.ui.rdetail.cp_info_row.parentNode;
        copyRow = copyRowParent.removeChild(G.ui.rdetail.cp_info_row);
        statusRow = G.ui.rdetail.cp_status.parentNode;
@@ -29,8 +30,6 @@ function rdetailDraw() {
        if(getLocation() == globalOrgTree.id())
                hideMe(G.ui.rdetail.cp_info_all);
 
-
-
        var req = new Request(FETCH_RMODS, getRid());
        req.callback(_rdetailDraw);
        req.send();
@@ -82,6 +81,8 @@ function rdetailShowAllCopies() {
 function _rdetailDraw(r) {
        record = r.getResultObject();
 
+       runEvt('rdetail', 'recordRetrieved', record.doc_id());
+
        G.ui.rdetail.title.appendChild(text(record.title()));
        buildSearchLink(STYPE_AUTHOR, record.author(), G.ui.rdetail.author);
        G.ui.rdetail.isbn.appendChild(text(cleanISBN(record.isbn())));