Fixed disappearing records.
[pazpar2-moved-to-github.git] / www / masterkey / js / client.js
index 9838160..584d833 100644 (file)
@@ -1,5 +1,5 @@
 /*
-** $Id: client.js,v 1.13 2007-04-13 17:19:53 quinn Exp $
+** $Id: client.js,v 1.14 2007-04-13 18:28:10 quinn Exp $
 ** MasterKey - pazpar2's javascript client .
 */
 
@@ -90,7 +90,6 @@ function my_onshow(data)
                             currentDetailedId = null;
                             return;
                         } else if (currentDetailedId != null) {
-                            $(this.parentNode.lastChild).remove();
                             $('#rec_'+currentDetailedId).children('.detail').remove();
                         }
                         currentDetailedId = clickedId;