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

@ -152,7 +152,8 @@ $(function () {
var d = '15.05.1984',
e = $('<a href="#" data-type="date" data-pk="1" data-url="post-date-clear.php">'+d+'</a>').appendTo(fx).editable({
format: f,
clear: 'abc'
clear: 'abc',
showbuttons: true
});
$.mockjax({
@ -177,6 +178,7 @@ $(function () {
//click clear
clear.click();
ok(!p.find('td.day.active').length, 'no active day');
ok(p.find('.datepicker').is(':visible'), 'datepicker still visible');
p.find('form').submit();