From: erickson Date: Mon, 7 Dec 2009 21:09:43 +0000 (+0000) Subject: repaired 'view marc' link in record matches grid. the link was missing a formatter... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=893e25dfab0e101d494f3bd64f03a9f204cca259;p=evergreen%2Ftadl.git repaired 'view marc' link in record matches grid. the link was missing a formatter, required by newer versions of dojo to display HTML content in a cell grid git-svn-id: svn://svn.open-ils.org/ILS/trunk@15093 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/js/ui/default/vandelay/vandelay.js b/Open-ILS/web/js/ui/default/vandelay/vandelay.js index f8542b145f..92e8981042 100644 --- a/Open-ILS/web/js/ui/default/vandelay/vandelay.js +++ b/Open-ILS/web/js/ui/default/vandelay/vandelay.js @@ -544,6 +544,11 @@ function vlFormatViewMatches(id) { return '' + this.name + ''; } +function vlFormatViewMatchMARC(id) { + return '' + this.name + ''; +} + function getAttrValue(rowIdx, item) { if(!item) return ''; var attrCode = this.field.split('.')[1]; diff --git a/Open-ILS/web/templates/default/vandelay/inc/matches.tt2 b/Open-ILS/web/templates/default/vandelay/inc/matches.tt2 index 16759ea7ce..034596761f 100644 --- a/Open-ILS/web/templates/default/vandelay/inc/matches.tt2 +++ b/Open-ILS/web/templates/default/vandelay/inc/matches.tt2 @@ -18,8 +18,7 @@ {name: '&vandelay.id;', field:'id'}, { name: '&vandelay.view.marc;', get: vlGetViewMARC, - value:'<a href="javascript:void(0);" onclick="vlLoadMARCHtml(RECID, '+ - 'true, function(){displayGlobalDiv(\'vl-match-div\');});">&vandelay.view.marc;</a>' + formatter : vlFormatViewMatchMARC }, {name: '&vandelay.creator;', get: vlGetCreator}, {name: '&vandelay.create.date;', field:'create_date', get: vlGetDateTimeField},