Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

FIXED: Compatibility of autolink tests with new JSRobot

  • Loading branch information...
commit 4216188bde0d0d28a454d69890df8180c5d49809 1 parent f83dc2d
Adrian Sutton authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/js/autolink/actions.js
View
6 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());
};
}
Please sign in to comment.
Something went wrong with that request. Please try again.