Commit e4695e5c authored by Ramya Nagarajan's avatar Ramya Nagarajan Committed by Commit Bot

[NTP] Corrected reference to albums_errors variable.

Bug: 868150
Change-Id: Ib0d3ea858fd1c51c34c2e0cdec0609f1a7f2d5d3
Reviewed-on: https://chromium-review.googlesource.com/1152447Reviewed-by: default avatarMathieu Perreault <mathp@chromium.org>
Commit-Queue: Mathieu Perreault <mathp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579284}
parent 82b55ac6
...@@ -861,7 +861,7 @@ customBackgrounds.initCustomBackgrounds = function() { ...@@ -861,7 +861,7 @@ customBackgrounds.initCustomBackgrounds = function() {
customBackgrounds.loadGooglePhotosAlbums(); customBackgrounds.loadGooglePhotosAlbums();
$('ntp-album-loader').onload = function() { $('ntp-album-loader').onload = function() {
if (typeof albums != 'undefined' && !albums_errors.auth_error && if (typeof albums != 'undefined' && !albums_errors.auth_error &&
!albums.net_error && !albums.service_error) { !albums_errors.net_error && !albums_errors.service_error) {
editDialog.close(); editDialog.close();
customBackgrounds.showCollectionSelectionDialog( customBackgrounds.showCollectionSelectionDialog(
customBackgrounds.SOURCES.GOOGLE_PHOTOS); customBackgrounds.SOURCES.GOOGLE_PHOTOS);
......
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