Author: michiel
Date: 2010-06-29 17:19:51 +0200 (Tue, 29 Jun 2010)
New Revision: 42743
Modified:
mmbase/trunk/contributions/calendar/src/main/webapp/mmbase/calendar/calendar.js
Log:
another detail
Modified:
mmbase/trunk/contributions/calendar/src/main/webapp/mmbase/calendar/calendar.js
===================================================================
---
mmbase/trunk/contributions/calendar/src/main/webapp/mmbase/calendar/calendar.js
2010-06-29 13:59:49 UTC (rev 42742)
+++
mmbase/trunk/contributions/calendar/src/main/webapp/mmbase/calendar/calendar.js
2010-06-29 15:19:51 UTC (rev 42743)
@@ -30,6 +30,14 @@
function(ev) {
self.toggle($(this).parent("td")[0]);
var newClickValue = parseInt($(ev.target).val());
+
+ // every input representing the same value, should also be changed:
+ if (ev.target.checked) {
+ $("td.day_" + newClickValue + "
input[type=checkbox]").attr("checked", "checked");
+ } else {
+ $("td.day_" + newClickValue + "
input[type=checkbox]").removeAttr("checked");
+ }
+
if (ev.shiftKey) {
if (self.lastClick != null) {
var newSelected = self.lastClick.checked;
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs