From 893e25dfab0e101d494f3bd64f03a9f204cca259 Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 7 Dec 2009 21:09:43 +0000 Subject: [PATCH] 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 --- Open-ILS/web/js/ui/default/vandelay/vandelay.js | 5 +++++ Open-ILS/web/templates/default/vandelay/inc/matches.tt2 | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) 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}, -- 2.11.0