From 009b307f5295c7e7e2cbfc3aee178483944d3945 Mon Sep 17 00:00:00 2001 From: Darsan Tatineni Date: Tue, 15 Jan 2013 18:01:03 -0600 Subject: [PATCH] triggering input event not working on IE9 as expected. --- src/ngScenario/dsl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngScenario/dsl.js b/src/ngScenario/dsl.js index 2f3ca18e3d08..350c45adece9 100644 --- a/src/ngScenario/dsl.js +++ b/src/ngScenario/dsl.js @@ -204,7 +204,7 @@ angular.scenario.dsl('input', function() { return this.addFutureAction("input '" + this.name + "' enter '" + value + "'", function($window, $document, done) { var input = $document.elements('[ng\\:model="$1"]', this.name).filter(':input'); input.val(value); - input.trigger(event || supportInputEvent && 'input' || 'change'); + input.trigger(event || (supportInputEvent && !msie) && 'input' || 'change'); done(); }); };