return '<a href="javascript:void(0);" onclick="vlLoadMatchUI(' + id + ');">' + this.name + '</a>';
}
+function vlFormatViewMatchMARC(id) {
+ return '<a href="javascript:void(0);" onclick="vlLoadMARCHtml(' + id + ', false, '+
+ 'function(){displayGlobalDiv(\'vl-match-div\');});">' + this.name + '</a>';
+}
+
function getAttrValue(rowIdx, item) {
if(!item) return '';
var attrCode = this.field.split('.')[1];
{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},