6.0.0-alpha14
7/1/25

[#9070] Editing current occurrence: update day name
Summary Editing current occurrence: update day name
Queue Kronolith
Queue Version FRAMEWORK_3
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester patrick.abiven (at) apitech (dot) fr
Created 06/01/2010 (5509 days ago)
Due
Updated 06/01/2010 (5509 days ago)
Assigned 06/01/2010 (5509 days ago)
Resolved 06/01/2010 (5509 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/01/2010 02:45:10 PM Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
06/01/2010 02:44:26 PM CVS Commit Comment #4 Reply to this comment
06/01/2010 01:34:28 PM patrick (dot) abiven (at) apitech (dot) fr Comment #3 Reply to this comment
I'm not sure what you mean. All date (and weekday) fields are 
updated correctly if I edit a recurring event.
When editing a recurring event (example an event covering each day 
from Tuesday June 1st to June 10th), the radio 'edit_recur' is 
initially set to 'all' and the start_date shown is June 1st Tuesday. 
When clicking the radio 'edit_recur' to 'current', the onclick 
function changes the start_date to the current instance (for example 
June 3th) but doesn't change the weekday Tuesday. This occurs because 
the setStartDate function doesn't call updateWday().
Regards
Patrick
06/01/2010 12:59:14 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
I'm not sure what you mean. All date (and weekday) fields are updated 
correctly if I edit a recurring event.
06/01/2010 10:11:29 AM patrick (dot) abiven (at) apitech (dot) fr Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Editing current occurrence: update day name
Queue ⇒ Kronolith
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Hello
When editing the current instance of a recurring event, the event 
start date (day, month, year) is updated but not the name of day 
(Monday, ...).

In templates/edit/javascript.inc, function setStartDate(), shouldn't 
we call the updateWday on the start date ?
Regards
Patrick
    ..
    $('start_year').value = startYear;
     $('start_month').selectedIndex = startDate.getMonth();
     $('start_day').selectedIndex = startDate.getDate() - 1;
+   updateWday('start_wday');
     updateEndDate();

Saved Queries