fix tests for ie7

This commit is contained in:
vitalets
2013-01-05 19:59:25 +04:00
parent 294c5c0528
commit 53ee7f3ff8
9 changed files with 63 additions and 40 deletions

@ -16,7 +16,7 @@ $(function () {
var p = tip(e);
ok(p.find('textarea').length, 'textarea exists')
ok(!p.find('textarea').val().length, 'textrea is empty')
p.find('button[type=button]').click();
p.find('.editable-cancel').click();
ok(!p.is(':visible'), 'popover was removed')
})
@ -25,7 +25,7 @@ $(function () {
e.click()
var p = tip(e);
equal(p.find('textarea').attr('placeholder'), 'abc', 'placeholder exists');
p.find('button[type=button]').click();
p.find('.editable-cancel').click();
ok(!p.is(':visible'), 'popover was removed');
})