Update of /var/cvs/applications/searchrelate/templates
In directory james.mmbase.org:/tmp/cvs-serv11137
Modified Files:
Searcher.js.jsp
Log Message:
made js cacheable, moved ready-functionlaity to the tag
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.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- Searcher.js.jsp 8 Jul 2008 12:33:34 -0000 1.27
+++ Searcher.js.jsp 15 Jul 2008 14:19:41 -0000 1.28
@@ -1,7 +1,7 @@
// -*- mode: javascript; -*-
<[EMAIL PROTECTED] uri="http://www.mmbase.org/mmbase-taglib-2.0" prefix="mm"
%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
-<mm:content type="text/javascript" expires="0" language="${param.locale}">
+<mm:content type="text/javascript" language="${param.locale}">
<fmt:bundle basename="org.mmbase.searchrelate.resources.searchrelate">
/**
* Generic mmbase search & relate tool. Javascript part.
@@ -13,14 +13,9 @@
*
* @author Michiel Meeuwissen
- * @version $Id: Searcher.js.jsp,v 1.27 2008/07/08 12:33:34 michiel Exp $
+ * @version $Id: Searcher.js.jsp,v 1.28 2008/07/15 14:19:41 michiel Exp $
*/
-$(document).ready(function(){
- $("body").find("div.mm_related").each(function() {
- this.relater = new MMBaseRelater(this);
- });
-});
/**
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs