From ddd4cc3509e0bcefa18c6d86532edd8da0d9763d Mon Sep 17 00:00:00 2001 From: phasefx Date: Thu, 17 Sep 2009 15:31:14 +0000 Subject: [PATCH] dummy isbn support for isbn column in lists git-svn-id: svn://svn.open-ils.org/ILS/trunk@14037 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/circ/util.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/circ/util.js b/Open-ILS/xul/staff_client/server/circ/util.js index 16aa48d78d..8cd73a24e1 100644 --- a/Open-ILS/xul/staff_client/server/circ/util.js +++ b/Open-ILS/xul/staff_client/server/circ/util.js @@ -984,7 +984,10 @@ circ.util.columns = function(modify,params) { 'flex' : 1, 'primary' : false, 'hidden' : true, - 'render' : function(my) { return my.mvr.isbn(); } + 'render' : function(my) { + try { return my.mvr.isbn(); } + catch(E) { return my.acp.dummy_isbn(); } + } }, { 'persist' : 'hidden width ordinal', -- 2.11.0