Permalink
Browse files

FIXED: Compatibility of autolink tests with new JSRobot

  • Loading branch information...
Adrian Sutton
Adrian Sutton committed Nov 22, 2010
1 parent f83dc2d commit 4216188bde0d0d28a454d69890df8180c5d49809
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/js/autolink/actions.js
@@ -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());
};
}
@@ -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());
};
}

0 comments on commit 4216188

Please sign in to comment.