Commit d3bc7eeb authored by ivankr@chromium.org's avatar ivankr@chromium.org

[cros] Fix repetitive image selection bug in OOBE.

BUG=chromium-os:23161
TEST=Manual


Review URL: http://codereview.chromium.org/8576013

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110978 0039d316-1c4b-4281-b951-d872f2087c98
parent 5fe04589
......@@ -231,8 +231,13 @@ cr.define('oobe', function() {
* @private
*/
acceptImage_: function() {
if (!$('ok-button').disabled)
var okButton = $('ok-button');
if (!okButton.disabled) {
// This ensures that #ok-button won't be re-enabled again.
$('user-image-grid').disabled = true;
okButton.disabled = true;
chrome.send('onUserImageAccepted');
}
},
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment