The select boxes need to be by default disabled in the services form.

This commit is contained in:
Alex Tselegidis 2016-07-21 20:40:53 +02:00
parent bc2b3163c6
commit b35ab3bbe3

View file

@ -259,7 +259,7 @@
$('#services .save-cancel-group').hide(); $('#services .save-cancel-group').hide();
$('#edit-service, #delete-service').prop('disabled', true); $('#edit-service, #delete-service').prop('disabled', true);
$('#services .record-details').find('input, textarea').prop('readonly', true); $('#services .record-details').find('input, textarea').prop('readonly', true);
$('#service-category').prop('disabled', true); $('#services .record-details').find('select').prop('disabled', true);
$('#service-duration, #service-attendants-number').spinner('disable'); $('#service-duration, #service-attendants-number').spinner('disable');
$('#filter-services .selected').removeClass('selected'); $('#filter-services .selected').removeClass('selected');