Index: chrome/browser/resources/options2/chromeos/change_picture_options.js |
diff --git a/chrome/browser/resources/options2/chromeos/change_picture_options.js b/chrome/browser/resources/options2/chromeos/change_picture_options.js |
index 822df96574f5f75e04537dc069a552821e4dc875..0da7c0d12eaee49232aed27c38375fa963a90ec7 100644 |
--- a/chrome/browser/resources/options2/chromeos/change_picture_options.js |
+++ b/chrome/browser/resources/options2/chromeos/change_picture_options.js |
@@ -68,6 +68,8 @@ cr.define('options', function() { |
// Old user image data (if present). |
this.oldImage_ = null; |
+ $('change-picture-overlay-confirm').onclick = this.closePage_; |
+ |
chrome.send('onChangePicturePageInitialized'); |
}, |
@@ -96,7 +98,7 @@ cr.define('options', function() { |
* @private |
*/ |
closePage_: function() { |
- OptionsPage.navigateToPage('personal'); |
+ OptionsPage.closeOverlay(); |
}, |
/** |