checkout to items out fix
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 3 Aug 2006 20:26:54 +0000 (20:26 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 3 Aug 2006 20:26:54 +0000 (20:26 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5263 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/display.js

index df81bb1..d1247ac 100644 (file)
@@ -36,7 +36,8 @@ patron.display.prototype = {
                                        'patron_id' : obj.patron.id(),
                                        'on_list_change' : function(checkout) {
                                        
-                                               if (!checkout.circ.id()) return; /* this stops noncats from getting pushed into Items Out */
+                                               /* this stops noncats from getting pushed into Items Out */
+                                               if (!checkout.circ.id()) return; 
 
                                                netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
                                                obj.summary_window.g.summary.controller.render('patron_checkouts');
@@ -46,9 +47,7 @@ patron.display.prototype = {
                                                                {
                                                                        'row' : {
                                                                                'my' : {
-                                                                                       'circ' : checkout.circ,
-                                                                                       'mvr' : checkout.record,
-                                                                                       'acp' : checkout.copy
+                                                                                       'circ_id' : checkout.circ.id(),
                                                                                }
                                                                        }
                                                                }