dummy isbn support for isbn column in lists
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 17 Sep 2009 15:31:14 +0000 (15:31 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 17 Sep 2009 15:31:14 +0000 (15:31 +0000)
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

index 16aa48d..8cd73a2 100644 (file)
@@ -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',