Update of /var/cvs/applications/searchrelate/templates
In directory james.mmbase.org:/tmp/cvs-serv6503/templates
Modified Files:
List.js.jsp
Log Message:
Introduced 'mmsrCreated' custom event
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.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- List.js.jsp 7 Aug 2008 09:32:09 -0000 1.20
+++ List.js.jsp 14 Aug 2008 13:16:21 -0000 1.21
@@ -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.20 2008/08/07 09:32:09 michiel Exp $
+ * @version $Id: List.js.jsp,v 1.21 2008/08/14 13:16:21 michiel Exp $
*/
@@ -169,6 +173,7 @@
}
});
a.list.executeCallBack("create", r);
+ $(a.list.div).trigger("mmsrCreated", [r]);
} else {
alert(status + " with " + url);
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs