Update of /var/cvs/applications/searchrelate/templates In directory james.mmbase.org:/tmp/cvs-serv9883
Modified Files: Searcher.js.jsp Log Message: added also an 'unrelate' event 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.40 retrieving revision 1.41 diff -u -b -r1.40 -r1.41 --- Searcher.js.jsp 6 Nov 2008 14:59:10 -0000 1.40 +++ Searcher.js.jsp 6 Nov 2008 17:26:07 -0000 1.41 @@ -13,10 +13,11 @@ * Custom events * - mmsrRelate (use $("div.mm_related").bind("mmsrRelate", function (e, tr) ) ) + * - mmsrUnrelate (use $("div.mm_related").bind("mmsrUnrelate", function (e, tr) ) ) * - mmsrRelaterReady (use $("div.mm_related").bind("mmsrRelaterReady", function (e, tr) ) ) * * @author Michiel Meeuwissen - * @version $Id: Searcher.js.jsp,v 1.40 2008/11/06 14:59:10 michiel Exp $ + * @version $Id: Searcher.js.jsp,v 1.41 2008/11/06 17:26:07 michiel Exp $ */ @@ -319,6 +320,7 @@ $(tr).click(function() { searcher.relate(this) }); + $(this.div).trigger("mmsrUnrelate", [tr]); } /** _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs