Ignore null fleshed objects in autofleshing grid columns
authorMike Rylander <mrylander@gmail.com>
Mon, 8 Aug 2016 21:05:10 +0000 (17:05 -0400)
committerMike Rylander <mrylander@gmail.com>
Thu, 18 Aug 2016 19:34:22 +0000 (15:34 -0400)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/web/js/ui/default/staff/services/grid.js

index 96c7a83..6c3e075 100644 (file)
@@ -1538,6 +1538,8 @@ angular.module('egGridMod',
                         }
                     }
 
+                    if (!obj) return '';
+
                     var cls = obj.classname;
                     if (cls && (class_obj = egCore.idl.classes[cls])) {
                         idl_field = class_obj.field_map[step];