| Index: chrome/browser/resources/app_list/start_page.js
|
| diff --git a/chrome/browser/resources/app_list/start_page.js b/chrome/browser/resources/app_list/start_page.js
|
| index fc5ebc4cd7b3bdc8cfbeb68c1c363c69a028ef63..c46b0cea177babbee7bc4854a3aed71a9f8792ca 100644
|
| --- a/chrome/browser/resources/app_list/start_page.js
|
| +++ b/chrome/browser/resources/app_list/start_page.js
|
| @@ -16,6 +16,10 @@ cr.define('appList.startPage', function() {
|
| // The element containing the current Google Doodle.
|
| var doodle = null;
|
|
|
| + // TODO(calamity): This is used for manual inspection of the doodle data.
|
| + // Remove this once http://crbug.com/462082 is diagnosed.
|
| + var doodleData = null;
|
| +
|
| /**
|
| * Initialize the page.
|
| */
|
| @@ -84,6 +88,7 @@ cr.define('appList.startPage', function() {
|
| }
|
|
|
| var doodleData = data.ddljson;
|
| + this.doodleData = doodleData;
|
| if (!doodleData || !doodleData.transparent_large_image) {
|
| setDoodleVisible(false);
|
| return;
|
| @@ -152,5 +157,6 @@ cr.define('appList.startPage', function() {
|
| };
|
| });
|
|
|
| -document.addEventListener('contextmenu', function(e) { e.preventDefault(); });
|
| +// TODO(calamity): Suppress context the menu once http://crbug.com/462082 is
|
| +// diagnosed.
|
| document.addEventListener('DOMContentLoaded', appList.startPage.initialize);
|
|
|