Skip to content
Snippets Groups Projects
Commit 744e36e1 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

Merge pull request #785 from yashodha/4.3

CRM-12583
parents 7de60563 13d83702
No related branches found
No related tags found
No related merge requests found
......@@ -214,9 +214,15 @@ function showHidePeriodSettings() {
(cj("#duration_unit :selected").val() == "year")) {
cj('#fixed_start_day_row, #fixed_rollover_day_row').show();
cj('#month_fixed_rollover_day_row').hide();
cj("#fixed_period_start_day_M, #fixed_period_start_day_d").val("1");
cj("#fixed_period_rollover_day_M").val("12");
cj("#fixed_period_rollover_day_d").val("31");
if (!cj("#fixed_period_start_day_M, #fixed_period_start_day_d").val()) {
cj("#fixed_period_start_day_M, #fixed_period_start_day_d").val("1");
}
if (!cj("#fixed_period_rollover_day_M").val()) {
cj("#fixed_period_rollover_day_M").val("12");
}
if (!cj("#fixed_period_rollover_day_d").val()) {
cj("#fixed_period_rollover_day_d").val("31");
}
cj("#month_fixed_rollover_day_row").val("");
}
else if ((cj("#period_type :selected").val() == "fixed" ) &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment