Update of /var/cvs/applications/searchrelate/templates
In directory james.mmbase.org:/tmp/cvs-serv23890
Modified Files:
Searcher.js.jsp
Log Message:
dont' use validator, if there is no validator
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.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- Searcher.js.jsp 4 Sep 2008 14:43:32 -0000 1.34
+++ Searcher.js.jsp 6 Oct 2008 12:12:26 -0000 1.35
@@ -16,7 +16,7 @@
* - mmsrRelaterReady (use $("div.mm_related").bind("mmsrRelaterReady",
function (e, tr) ) )
*
* @author Michiel Meeuwissen
- * @version $Id: Searcher.js.jsp,v 1.34 2008/09/04 14:43:32 michiel Exp $
+ * @version $Id: Searcher.js.jsp,v 1.35 2008/10/06 12:12:26 michiel Exp $
*/
@@ -525,8 +525,10 @@
$(rep).append($(result));
var nodeManager =
$(result).find("input[name='nodemanager']")[0].value;
self.logger.debug(nodeManager);
+ if (self.validator) {
self.validator.prefetchNodeManager(nodeManager);
self.validator.addValidation(rep);
+ }
var options = {
url: "${mm:link('/mmbase/searchrelate/create.jspx')}",
target: null,
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs