From: phasefx Date: Thu, 17 Sep 2009 15:31:14 +0000 (+0000) Subject: dummy isbn support for isbn column in lists X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ddd4cc3509e0bcefa18c6d86532edd8da0d9763d;p=contrib%2FConifer.git dummy isbn support for isbn column in lists git-svn-id: svn://svn.open-ils.org/ILS/trunk@14037 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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',