Author: andre
Date: 2010-02-10 20:40:51 +0100 (Wed, 10 Feb 2010)
New Revision: 40956
Modified:
mmbase/branches/MMBase-1_9/applications/searchrelate/src/main/webapp/mmbase/searchrelate/Searcher.js.jsp
Log:
just doc
Modified:
mmbase/branches/MMBase-1_9/applications/searchrelate/src/main/webapp/mmbase/searchrelate/Searcher.js.jsp
===================================================================
---
mmbase/branches/MMBase-1_9/applications/searchrelate/src/main/webapp/mmbase/searchrelate/Searcher.js.jsp
2010-02-10 06:13:59 UTC (rev 40955)
+++
mmbase/branches/MMBase-1_9/applications/searchrelate/src/main/webapp/mmbase/searchrelate/Searcher.js.jsp
2010-02-10 19:40:51 UTC (rev 40956)
@@ -96,7 +96,7 @@
/**
* This Searcher.js.jsp is normally loaded implicetly by the first
mm-sr:relate. Using the 'ready'
- * function, you can do something immediately after the MMBaseRealter is
ready. E.g. you can add a
+ * function, you can do something immediately after the MMBaseRelater is
ready. E.g. you can add a
* 'relateCallBack' function.
* @todo I think jquery provides something with user defined events.
*/
@@ -577,7 +577,7 @@
}
/**
- * This method is called if somebody clicks on a.search.
+ * This is called when clicking on a.search or a.navigate (when paging).
* It depends on a jsp /mmbase/searchrelate/page.jspx to return the search
results.
* Feeded are a.o. 'id' 'offset' and 'search'.
* The actual query is supposed to be on the user's session, and will be
picked up in page.jspx.
@@ -665,7 +665,8 @@
/**
* If you defined in your CSS that 'implicit' search results are not visible
at all, then
- * you can call this method to bind events to change the texts on the search
buttons accordingly (between 'search' and 'close').
+ * you can call this method to bind events to change the texts on the search
buttons accordingly
+ * (between 'search' and 'close').
*/
MMBaseSearcher.prototype.implicitsAreHidden = function() {
$(document).bind("mmsrPaged",
@@ -850,7 +851,6 @@
var self = this;
this.logger.debug("binding to "+ $(this.div).find("a.navigate"));
-
$(this.div).find("a.navigate").click(function(ev) {
var anchor = ev.target;
self.logger.debug("navigating " + anchor);
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs