Update of /var/cvs/applications/searchrelate/templates
In directory james.mmbase.org:/tmp/cvs-serv4440

Modified Files:
        Searcher.js.jsp 
Log Message:
prepend an unrelated node




See also: http://cvs.mmbase.org/viewcvs/applications/searchrelate/templates


Index: Searcher.js.jsp
===================================================================
RCS file: /var/cvs/applications/searchrelate/templates/Searcher.js.jsp,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -b -r1.52 -r1.53
--- Searcher.js.jsp     25 Nov 2008 19:39:51 -0000      1.52
+++ Searcher.js.jsp     26 Nov 2008 19:13:37 -0000      1.53
@@ -19,7 +19,7 @@
  * - mmsrCommitted         (use   $("div.mm_related").bind("mmsrCommitted", 
function (e, submitter, status, relater) ) )
  *
  * @author Michiel Meeuwissen
- * @version $Id: Searcher.js.jsp,v 1.52 2008/11/25 19:39:51 andre Exp $
+ * @version $Id: Searcher.js.jsp,v 1.53 2008/11/26 19:13:37 andre Exp $
  */
 
 
@@ -86,8 +86,9 @@
 }
 
 /**
- *  This Searcher.js.jsp is normally loaded implicetly by the first 
mm-sr:relate. Using the 'ready' function, you can do something
- *  immediately after the MMBaseRealter is ready. E.g. you can add a 
'relateCallBack' function.
+ *  This Searcher.js.jsp is normally loaded implicetly by the first 
mm-sr:relate. Using the 'ready' 
+ *  function, you can do something immediately after the MMBaseRealter is 
ready. E.g. you can add a 
+ *  'relateCallBack' function.
  *  @todo I think jquery provides something with user defined events.
  */
 
@@ -366,7 +367,7 @@
 
     // Set up HTML
     var repository =  $(this.div).find("div.mm_relate_repository 
div.searchresult table tbody");
-    repository.append(tr);
+    repository.prepend(tr);
     $(relationTrs).remove();    // remove the tr's to edit relations
 
     this.current.searcher.dec();
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to