refactoring patron display
[Evergreen.git] / Open-ILS / xul / staff_client / server / patron / summary.js
index 34ea4a0..badfffd 100644 (file)
@@ -535,7 +535,7 @@ patron.summary.prototype = {
                                if (typeof window.xulG == 'object' && typeof window.xulG.on_finished == 'function') {
                                        obj.error.sdump('D_PATRON_SUMMARY',
                                                'patron.summary: Calling external .on_finished()\n');
-                                       window.xulG.on_finished(E);
+                                       window.xulG.on_finished(obj.patron);
                                } else {
                                        obj.error.sdump('D_PATRON_SUMMARY','patron.summary: No external .on_finished()\n');
                                }