* Fix bug#14935
This commit is contained in:
@@ -78,4 +78,8 @@ $(function()
|
||||
$('#exchangeRate').val(exchangeRate);
|
||||
$('#changeUnitTip').modal('hide');
|
||||
})
|
||||
|
||||
/* If end is longtime, set the default date to today */
|
||||
var today = $.zui.formatDate(new Date(), 'yyyy-MM-dd');
|
||||
if($('#end').val() == longTime) $('#end').val(today).datetimepicker('update').val(longTime);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user