Fixed disappearing records.
authorSebastian Hammer <quinn@indexdata.com>
Fri, 13 Apr 2007 18:28:10 +0000 (18:28 +0000)
committerSebastian Hammer <quinn@indexdata.com>
Fri, 13 Apr 2007 18:28:10 +0000 (18:28 +0000)
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;