LP#1086458: remove references to windows during cleanup
authorGalen Charlton <gmc@esilibrary.com>
Thu, 24 Jan 2013 20:25:47 +0000 (15:25 -0500)
committerBen Shum <bshum@biblio.org>
Mon, 4 Mar 2013 19:49:33 +0000 (14:49 -0500)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/xul/staff_client/server/patron/display.js

index 74e53fc..ffac5d1 100644 (file)
@@ -688,6 +688,12 @@ patron.display.prototype = {
 
     'cleanup' : function( params ) {
         var obj = this;
+        delete obj.search_result;
+        delete obj.search_window;
+        delete obj.patron;
+        delete obj.items_window;
+        delete obj.summary_window;
+        delete obj.checkout_window;
         obj.controller.cleanup();
         obj.event_listeners.removeAll();
     },