| Index: chrome/browser/resources/options/alert_overlay.js
|
| diff --git a/chrome/browser/resources/options/alert_overlay.js b/chrome/browser/resources/options/alert_overlay.js
|
| index 09b95bf7db87915dd65e822107702c7e275c696d..9efa8d08459b95f7dbdcadd3eec06e6ab45aa114 100644
|
| --- a/chrome/browser/resources/options/alert_overlay.js
|
| +++ b/chrome/browser/resources/options/alert_overlay.js
|
| @@ -13,10 +13,6 @@ cr.define('options', function() {
|
| */
|
| function AlertOverlay() {
|
| Page.call(this, 'alertOverlay', '', 'alertOverlay');
|
| - // AlertOverlay is special in that it is not tied to one page or overlay.
|
| - // Set the nesting level arbitrarily high so as to always be recognized as
|
| - // the top-most visible page.
|
| - this.nestingLevelOverride = 99;
|
| }
|
|
|
| cr.addSingletonGetter(AlertOverlay);
|
| @@ -36,6 +32,9 @@ cr.define('options', function() {
|
| initializePage: function() {
|
| Page.prototype.initializePage.call(this);
|
|
|
| + // AlertOverlay is special in that it is not tied to one page or overlay.
|
| + this.alwaysOnTop = true;
|
| +
|
| var self = this;
|
| $('alertOverlayOk').onclick = function(event) {
|
| self.handleOK_();
|
|
|