added toggle values dblclick and hover

This commit is contained in:
vitalets
2012-11-29 22:06:15 +04:00
parent 518b2d88b1
commit 5b8f00d01b
5 changed files with 108 additions and 79 deletions

View File

@@ -39,18 +39,6 @@ $(function () {
p.find('button[type=button]').click();
ok(!p.is(':visible'), 'popover was removed');
});
test("option 'toggle' = manual", function () {
var e = $('<a href="#" id="a"></a>').appendTo('#qunit-fixture').editable({
toggle: 'manual'
});
e.click();
ok(!e.data().editableContainer, 'popover not visible after click');
e.editable('show');
var p = tip(e);
ok(p.is(':visible'), 'shown manually');
});
asyncTest("should load correct value and save new entered text (and value)", function () {
var v = 'ab<b>"',