Skip to content

Commit

Permalink
Fix login configuration dialog in IE8.
Browse files Browse the repository at this point in the history
  • Loading branch information
glasser committed Oct 17, 2012
1 parent 5e3f00c commit 4dfb860
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/accounts-ui-unstyled/login_buttons_dialogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,10 @@
});
}
},
'input': function (event) {
// IE8 doesn't support the 'input' event, so we'll run this on the keyup as
// well. (Keeping the 'input' event means that this also fires when you use
// the mouse to change the contents of the field, eg 'Cut' menu item.)
'input, keyup input': function (event) {
// if the event fired on one of the configuration input fields,
// check whether we should enable the 'save configuration' button
if (event.target.id.indexOf('configure-login-service-dialog') === 0)
Expand Down

0 comments on commit 4dfb860

Please sign in to comment.