forked from mirrors/easyappointments
Default values when creating a service
This commit is contained in:
parent
93c2eb190f
commit
32e2b2843b
1 changed files with 9 additions and 0 deletions
|
@ -102,6 +102,15 @@
|
||||||
.prop('disabled', false);
|
.prop('disabled', false);
|
||||||
$('#filter-services button').prop('disabled', true);
|
$('#filter-services button').prop('disabled', true);
|
||||||
$('#filter-services .results').css('color', '#AAA');
|
$('#filter-services .results').css('color', '#AAA');
|
||||||
|
|
||||||
|
// Default values
|
||||||
|
$('#service-name').val('Service');
|
||||||
|
$('#service-duration').val('30');
|
||||||
|
$('#service-price').val('0');
|
||||||
|
$('#service-currency').val('');
|
||||||
|
$('#service-category').val('null');
|
||||||
|
$('#service-availabilities-type').val('flexible');
|
||||||
|
$('#service-attendants-number').val('1');
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue