Author: andre
Date: 2010-02-23 18:43:45 +0100 (Tue, 23 Feb 2010)
New Revision: 41153
Modified:
mmbase/branches/MMBase-1_9/applications/searchrelate/src/main/webapp/mmbase/searchrelate/Searcher.js.jsp
Log:
makes no sence to me otherwise, this is meant a check if this variable exists
or doen't it?
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-23 11:15:25 UTC (rev 41152)
+++
mmbase/branches/MMBase-1_9/applications/searchrelate/src/main/webapp/mmbase/searchrelate/Searcher.js.jsp
2010-02-23 17:43:45 UTC (rev 41153)
@@ -313,7 +313,7 @@
return alert('<fmt:message key="relatemax" />'.replace('{0}',
this.current.searcher.maxNumber));
}
// Set up data
- if (typeof(this.unrelated[number]) == "undefined") {
+ if (typeof(this.related[number]) == "undefined") {
this.related[number] = tr;
}
@@ -367,7 +367,7 @@
this.logger.debug("+ relations: " + relationTrs.length);
// Set up data
- if (typeof(this.related[number]) == "undefined") {
+ if (typeof(this.unrelated[number]) == "undefined") {
this.unrelated[number] = tr;
}
this.related[number] = null;
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs