fix tests in firefox as firefox fires on keypress not down

This commit is contained in:
John McLear 2013-03-14 13:41:49 -03:00
parent f0dee2d2ce
commit 12107859bb
4 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ describe("indentation button", function(){
//select this text element
$firstTextElement.sendkeys('{selectall}');
var e = inner$.Event("keydown");
var e = inner$.Event("keypress");
e.keyCode = 9; // tab :|
inner$("#innerdocbody").trigger(e);