Update of /var/cvs/contributions/didactor2/src/core/templates/content/js
In directory james.mmbase.org:/tmp/cvs-serv8734/js
Modified Files:
open.jsp
Log Message:
oops
See also:
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/core/templates/content/js
Index: open.jsp
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/core/templates/content/js/open.jsp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- open.jsp 28 Mar 2008 16:40:45 -0000 1.6
+++ open.jsp 28 Mar 2008 17:09:18 -0000 1.7
@@ -195,10 +195,10 @@
function postContent(href, form) {
loadIconOn();
var params = {};
- $(form).each("textarea", function() {
+ $(form).find("textarea").each(function() {
params[this.name] = this.value;
});
- $(form).each("input", function() {
+ $(form).find("input").each(function() {
if (this.type == "checkbox" && ! this.checked) {
} else {
params[this.name] = this.value;
@@ -224,7 +224,6 @@
//console.log("posting " + content);
- xmlhttp.send(content);
scrollToTop();
}
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs