diff options
| author | Misko Hevery | 2011-05-23 14:17:55 -0700 |
|---|---|---|
| committer | Vojta Jina | 2011-06-15 01:14:22 +0200 |
| commit | e83465c362c53ac7451183a775456f3112262f6e (patch) | |
| tree | 5d69e91e2e300472ea37816100437754f577be49 /src/scenario/dsl.js | |
| parent | f370be85cb680a7cac7a23999a865b9c9e731238 (diff) | |
| download | angular.js-e83465c362c53ac7451183a775456f3112262f6e.tar.bz2 | |
Fix scenario runner on IE7, IE8
* add ng:disabled, ng:checked, ng:multiple, ng:readonly, ng:selected
* fetch fixed cookbook/advancedform (use ng:disabled)
* fire keydown instead of change on input
* remove frame when test finishes
Diffstat (limited to 'src/scenario/dsl.js')
| -rw-r--r-- | src/scenario/dsl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scenario/dsl.js b/src/scenario/dsl.js index e9d68f64..60b05cd6 100644 --- a/src/scenario/dsl.js +++ b/src/scenario/dsl.js @@ -180,7 +180,7 @@ angular.scenario.dsl('input', function() { return this.addFutureAction("input '" + this.name + "' enter '" + value + "'", function($window, $document, done) { var input = $document.elements(':input[name="$1"]', this.name); input.val(value); - input.trigger('change'); + input.trigger('keydown'); done(); }); }; |
