<span name='po' class='hidden'> | <a title='Purchase Order' name='po_link' href='javascript:void(0);'>⌘ </a></span>
<span name="show_requests"> | <a title='Patron Requests' name="show_requests_link" href="javascript:void(0);">requests</a></span>
<span name='pro' class='hidden'> | <a title='[% l('Provider') %]' name='pro_link' href='javascript:void(0);'>⍟ </a></span>
+ <span name='queue' class='hidden'> | <a title='[% l('Import Queue') %]' name='queue_link' href='javascript:void(0);'>➬ Queue</a></span>
</td>
</tr>
</tbody>
nodeByName("link_to_catalog_link", row).onclick = function() { self.drawBibFinder(li) };
}
+ if (li.queued_record()) {
+ this.pcrud.retrieve('vqbr', li.queued_record(),
+ { async : true,
+ oncomplete : function(r) {
+ var qrec = openils.Util.readResponse(r);
+ openils.Util.show(nodeByName('queue', row), 'inline');
+ var link = nodeByName("queue_link", row);
+ link.onclick = function() {
+ // open a new tab to the vandelay queue for this record
+ openils.XUL.newTabEasy(
+ oilsBasePath + '/vandelay/vandelay?qtype=bib&qid=' + qrec.queue()
+ );
+ }
+ }
+ }
+ );
+ }
+
nodeByName("worksheet_link", row).href =
oilsBasePath + "/acq/lineitem/worksheet/" + li.id();