Monotone-Parent: 136367702e2d0a66ecd8c78c0f55fe81a6d9d1be
Monotone-Revision: 8cbcf72bb3b427bf1185e7aa4bed02fcd25f9b09 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2008-12-02T03:35:16 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
0b69340ca5
commit
004cdf3a7b
|
@ -149,6 +149,12 @@ function initializeFormValues() {
|
|||
$('endDate_date').disabled = false;
|
||||
}
|
||||
|
||||
$('rangeAppointmentsField').observe("click", function(event) {
|
||||
// Set the range to a fixed number of appointments if user
|
||||
// clicks in the range field.
|
||||
$('recurrence_form').setRadioValue('rangeRadioButtonName', 1);
|
||||
});
|
||||
|
||||
// Observe change of range radio buttons to activate the date picker when required
|
||||
Form.getInputs($('recurrence_form'), 'radio', 'rangeRadioButtonName').each(function(input) {
|
||||
input.observe("change", onRangeChange);
|
||||
|
|
Loading…
Reference in a new issue