Author: michiel
Date: 2010-04-23 10:17:56 +0200 (Fri, 23 Apr 2010)
New Revision: 42032
Modified:
mmbase/trunk/applications/searchrelate/src/main/webapp/mmbase/searchrelate/List.js.jsp
Log:
hmm, dammit
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-23 08:15:13 UTC (rev 42031)
+++
mmbase/trunk/applications/searchrelate/src/main/webapp/mmbase/searchrelate/List.js.jsp
2010-04-23 08:17:56 UTC (rev 42032)
@@ -1,5 +1,5 @@
/**
-<%...@page contentType="text/javascript; charset=UTF-8"
+<%...@page contentType="text/javascript; charset=UTF-8" session="false"
%><%...@taglib uri="http://www.mmbase.org/mmbase-taglib-2.0" prefix="mm"
%><%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"
%><fmt:bundle basename="org.mmbase.searchrelate.resources.searchrelate">
@@ -224,13 +224,13 @@
$(window).bind("beforeunload",
function(ev) {
List.prototype.leftPage = true;
- $(self.div).find(":input").attr("disabled", true);
+ $(self.div).find(":input").attr("disabled", true);
var result = self.commit(0, true);
if (result != null) {
ev.returnValue = confirm(result); //'<fmt:message
key="invalid" />';
return ev.returnValue;
}
- return result == null ? undefined : result; // IE want
'undefined' to avoid the popup
+ // IE wants no return here
});
// automaticly make the entries empty on focus if they evidently contain
the default value only
this.find("mm_validate", "input").filter(function() {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs