Update of /var/cvs/applications/searchrelate/META-INF/tags/mm/searchrelate
In directory james.mmbase.org:/tmp/cvs-serv28026
Modified Files:
relate.tagx
Log Message:
cleaned up javascript just a bit
See also:
http://cvs.mmbase.org/viewcvs/applications/searchrelate/META-INF/tags/mm/searchrelate
Index: relate.tagx
===================================================================
RCS file:
/var/cvs/applications/searchrelate/META-INF/tags/mm/searchrelate/relate.tagx,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- relate.tagx 24 Apr 2008 20:01:09 -0000 1.23
+++ relate.tagx 3 Jun 2008 11:51:10 -0000 1.24
@@ -6,7 +6,7 @@
>
<!--
@author Michiel Meeuwissen
- @version $Id: relate.tagx,v 1.23 2008/04/24 20:01:09 michiel Exp $
+ @version $Id: relate.tagx,v 1.24 2008/06/03 11:51:10 michiel Exp $
-->
<jsp:directive.tag
example="See /mmexamples/searchrelate"
@@ -70,7 +70,6 @@
$(document).ready(function() {
<c:if test="${! empty submit}">
<!-- if a submit id is given, commit the search/relate on click of that
element -->
-
$("${submit}").click(function(el) {
return $("#mm_related_${seq}")[0].relater.commit(el);
});
@@ -82,9 +81,8 @@
<c:if test="${! empty current}">
if (this.relater.current != null)
this.relater.current.searcher.maxNumber = ${current.maxNumber};
</c:if>
+ })
});
- });
-
</script>
<fmt:bundle
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs