Skip to content

Commit

Permalink
FIXED: Compatibility of autolink tests with new JSRobot
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Sutton committed Nov 22, 2010
1 parent f83dc2d commit 4216188
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/js/autolink/actions.js
Expand Up @@ -3,7 +3,7 @@ function fakeTypeAURL(url)
return function(callback) {
// type the URL and then press the space bar
tinyMCE.execCommand('mceInsertContent', false, url);
window.robot.type(32, false, callback);
window.robot.type(32, false, callback, editor.getWin());
};
}

Expand All @@ -13,8 +13,8 @@ function fakeTypeAnEclipsedURL(url)
// type the URL and then type ')'
tinyMCE.execCommand('mceInsertContent', false, '(' + url);
window.robot.type(48, true, function() {
window.robot.type(32, true, callback);
});
window.robot.type(32, true, callback, editor.getWin());
}, editor.getWin());
};
}

Expand Down

0 comments on commit 4216188

Please sign in to comment.