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

Modified Files:
        List.js.jsp 
Log Message:
Redid my change of last week, because someone inadvertedly rolled it back


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.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- List.js.jsp 14 Aug 2008 15:41:26 -0000      1.22
+++ List.js.jsp 21 Aug 2008 08:58:33 -0000      1.23
@@ -12,8 +12,12 @@
  * Items in the list can be added and deleted. They can also be edited (with 
validation).
  * The user does not need to push a commit button. All data is implicitely 
committed (after a few second of inactivity, or before unload).
  *
+ * Custom events (called on the associated div)
+ * -  mmsrRelatedNodesReady
+ * -  mmsrCreated
+ *
  * @author Michiel Meeuwissen
- * @version $Id: List.js.jsp,v 1.22 2008/08/14 15:41:26 jelle Exp $
+ * @version $Id: List.js.jsp,v 1.23 2008/08/21 08:58:33 michiel Exp $
  */
 
 
@@ -174,7 +178,9 @@
                                    div.list = new List(div);
                            }
                            });
-                           a.list.executeCallBack("create", r);
+                           a.list.executeCallBack("create", r); // I think 
this may be deprecated. Custom events are nicer
+                           $(a.list.div).trigger("mmsrCreated", [r]);
+
                        } else {
                            alert(status + " with " + url);
 
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to