Topic: Bug?
Hi.
Any click on a check box (displayed in front of an event) leads to new event posting.
Seems to be related to the new feature added - click on cell day to add a new event.
regards,
laur
You are not logged in. Please login or register.
LuxCal Web Calendar → Problems → Bug?
Pages 1
Hi.
Any click on a check box (displayed in front of an event) leads to new event posting.
Seems to be related to the new feature added - click on cell day to add a new event.
regards,
laur
You are a better tester than I
Even if I tested the check-box function, I didn't take notice of this.
I would call it a ( minor ) bug, but maybe there is a reason why it is happening.
Additional information :
In day view and in week view, it functions as expected ( also in upcoming of course ). When clicking in the check-box the status changes. Clicking outside the check-box will open the event window.
Hi Laur and Schwartz,
Yes,this is a bug. To solve this problem, edit the file "views/month.php" and replace line 22 . . .
$cBoxAtt = $mayCheck ? "class='chkBox floatL point' onclick=\"checkE(this,{$evt['eid']},'{$date}',{$usr['ID']});\"" : 'class="chkBox floatL arrow"';
by . . .
$cBoxAtt = $mayCheck ? "class='chkBox floatL point' onclick=\"checkE(this,{$evt['eid']},'{$date}',{$usr['ID']}); event.stopPropagation();\"" : 'class="chkBox floatL arrow"';
In other words: directly after "{$usr['ID']});" add " event.stopPropagation();"
Roel
Pages 1
LuxCal Web Calendar → Problems → Bug?