Chromium Code Reviews| Index: chrome/browser/resources/options/easy_unlock_turn_off_overlay.js |
| diff --git a/chrome/browser/resources/options/easy_unlock_turn_off_overlay.js b/chrome/browser/resources/options/easy_unlock_turn_off_overlay.js |
| index 8b2a589843b659ecc5806e1e5778eb4af49adbfe..6539b6c3a32140837a31f2a99a98dc817982ed0e 100644 |
| --- a/chrome/browser/resources/options/easy_unlock_turn_off_overlay.js |
| +++ b/chrome/browser/resources/options/easy_unlock_turn_off_overlay.js |
| @@ -175,7 +175,11 @@ cr.define('options', function() { |
| * Closes the Easy unlock turn off overlay. |
| */ |
| EasyUnlockTurnOffOverlay.dismiss = function() { |
| - PageManager.closeOverlay(); |
| + // TODO(xiyuan): Remove the workaround and call closeOverly directly. |
|
tbarzic
2014/08/19 18:24:22
can you link the bug here (to make it clear what t
xiyuan
2014/08/19 20:12:08
Done.
|
| + $('easy-unlock-turn-off-spinner').hidden = true; |
| + window.setTimeout(function() { |
| + PageManager.closeOverlay(); |
| + }, 100); |
| }; |
| /** |