Author: michiel
Date: 2010-04-22 17:31:42 +0200 (Thu, 22 Apr 2010)
New Revision: 42015
Modified:
mmbase/trunk/applications/searchrelate/src/main/webapp/mmbase/searchrelate/List.js.jsp
Log:
detail related to IE
Modified:
mmbase/trunk/applications/searchrelate/src/main/webapp/mmbase/searchrelate/List.js.jsp
===================================================================
---
mmbase/trunk/applications/searchrelate/src/main/webapp/mmbase/searchrelate/List.js.jsp
2010-04-22 15:30:55 UTC (rev 42014)
+++
mmbase/trunk/applications/searchrelate/src/main/webapp/mmbase/searchrelate/List.js.jsp
2010-04-22 15:31:42 UTC (rev 42015)
@@ -229,7 +229,7 @@
ev.returnValue = confirm(result); //'<fmt:message
key="invalid" />';
return ev.returnValue;
}
- return result;
+ return result == null ? undefined : result; // IE want
'undefined' to avoid the popup
});
// automaticly make the entries empty on focus if they evidently contain
the default value only
@@ -528,6 +528,14 @@
var div = this;
if (div.list == null) {
div.list = new List(div);
+ if (typeof MMBaseRelater == "function") {
+ $(div).find("div.mm_related").
+ each(function() {
+ if (this.relater == null) {
+ this.relater = new MMBaseRelater(this);
+ }
+ });
+ }
}
});
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs