Remove console.log
This commit is contained in:
parent
c493de7cbe
commit
1ddc11af58
@ -97,11 +97,9 @@ $(document).ready(function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var useFirstEmptyDateField = function (dateStr) {
|
var useFirstEmptyDateField = function (dateStr) {
|
||||||
console.log(dateStr);
|
|
||||||
var used = false;
|
var used = false;
|
||||||
$selected_days.find('fieldset legend input').each(function () {
|
$selected_days.find('fieldset legend input').each(function () {
|
||||||
if (!used) {
|
if (!used) {
|
||||||
console.log($(this).val(), $(this));
|
|
||||||
if ($(this).val() == '') {
|
if ($(this).val() == '') {
|
||||||
$(this).val(dateStr);
|
$(this).val(dateStr);
|
||||||
used = true;
|
used = true;
|
||||||
@ -240,8 +238,6 @@ $(document).ready(function () {
|
|||||||
startDateField.parent().removeClass('has-error');
|
startDateField.parent().removeClass('has-error');
|
||||||
endDateField.parent().removeClass('has-error');
|
endDateField.parent().removeClass('has-error');
|
||||||
|
|
||||||
// console.log('start_date as date', startDate);
|
|
||||||
// console.log('start_end as date', endDate);
|
|
||||||
if (startDate != null && endDate != null) {
|
if (startDate != null && endDate != null) {
|
||||||
if (startDate <= endDate) {
|
if (startDate <= endDate) {
|
||||||
while (startDate <= endDate) {
|
while (startDate <= endDate) {
|
||||||
|
Loading…
Reference in New Issue
Block a user