Skip to content

Commit

Permalink
fix select To datapicker for filter order list in BO
Browse files Browse the repository at this point in the history
  • Loading branch information
anijra committed May 26, 2015
1 parent d71e254 commit ff46734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion design/admin2/templates/shop/orderlist.tpl
Expand Up @@ -194,7 +194,7 @@

var checkin = $('#dpd1').datepicker()
.on('changeDate', function(ev) {
if (ev.date.valueOf() > checkout.date.valueOf()) {
if ((ev.date.valueOf() > checkout.date.valueOf()) || ($('#dpd2').val() == '')) {
var newDate = new Date(ev.date)
newDate.setDate(newDate.getDate());
checkout.setValue(newDate);
Expand Down

0 comments on commit ff46734

Please sign in to comment.