Update of /var/cvs/applications/searchrelate/templates
In directory james.mmbase.org:/tmp/cvs-serv8818
Modified Files:
List.js.jsp
Log Message:
only bind create if this a is indeed belonging to the correct
mm-sr:relatednodes. (in case of nesting)
See also: http://cvs.mmbase.org/viewcvs/applications/searchrelate/templates
Index: List.js.jsp
===================================================================
RCS file: /var/cvs/applications/searchrelate/templates/List.js.jsp,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- List.js.jsp 30 Oct 2008 15:21:58 -0000 1.33
+++ List.js.jsp 20 Nov 2008 09:33:18 -0000 1.34
@@ -17,7 +17,7 @@
* - mmsrCreated
*
* @author Michiel Meeuwissen
- * @version $Id: List.js.jsp,v 1.33 2008/10/30 15:21:58 michiel Exp $
+ * @version $Id: List.js.jsp,v 1.34 2008/11/20 09:33:18 michiel Exp $
*/
@@ -72,7 +72,9 @@
});
this.find(this.div, "a.create").each(function() {
+ if ($(this).parents(".list")[0] == self.div) {
self.bindCreate(this);
+ }
});
this.find(this.div, "a.delete").each(function() {
self.bindDelete(this);
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs