Update of /var/cvs/speeltuin/mihxil/wiki/mmbase/searchrelate
In directory james.mmbase.org:/tmp/cvs-serv7910/mmbase/searchrelate

Modified Files:
        Searcher.js.jsp 
Log Message:
should not pass transaction=null


See also: 
http://cvs.mmbase.org/viewcvs/speeltuin/mihxil/wiki/mmbase/searchrelate


Index: Searcher.js.jsp
===================================================================
RCS file: /var/cvs/speeltuin/mihxil/wiki/mmbase/searchrelate/Searcher.js.jsp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- Searcher.js.jsp     1 Apr 2008 12:19:19 -0000       1.6
+++ Searcher.js.jsp     1 Apr 2008 13:09:30 -0000       1.7
@@ -11,7 +11,7 @@
 
  *
  * @author Michiel Meeuwissen
- * @version $Id: Searcher.js.jsp,v 1.6 2008/04/01 12:19:19 michiel Exp $
+ * @version $Id: Searcher.js.jsp,v 1.7 2008/04/01 13:09:30 michiel Exp $
  */
 
 
@@ -158,7 +158,10 @@
 
     this.log("+ " + relatedNumbers);
     this.log("- " + unrelatedNumbers);
-    var params = {id: id, related: relatedNumbers, unrelated: 
unrelatedNumbers, transaction: this.transaction};
+    var params = {id: id, related: relatedNumbers, unrelated: 
unrelatedNumbers};
+    if (this.transaction != null) {
+       params.transaction = this.transaction;
+    }
     $.ajax({url: url, type: "GET", dataType: "xml", data: params,
            complete: function(res, status){
                if (status == "success") {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to