fix showbuttons passing to input options

This commit is contained in:
vitalets
2013-04-03 00:17:24 +04:00
parent b38f872302
commit 72f964a7cc
5 changed files with 12 additions and 5 deletions

View File

@@ -109,7 +109,7 @@ $(function(){
this.$input.data('datepicker').date = null;
this.$input.find('.active').removeClass('active');
if(!this.options.showbuttons) {
this.$input.closest('form').submit();
this.$input.closest('form').submit();
}
},