Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2481)

Unified Diff: chrome/browser/resources/feedback.js

Issue 10964026: Fix saved screenshots for feedback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/webui/screenshot_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/feedback.js
diff --git a/chrome/browser/resources/feedback.js b/chrome/browser/resources/feedback.js
index 3d48603c961c720442a05ec623ae82a79c47a8fc..73bf58f5eed0b6abd1ae9cb33661847ab004e7b0 100644
--- a/chrome/browser/resources/feedback.js
+++ b/chrome/browser/resources/feedback.js
@@ -37,7 +37,7 @@ function selectImage(divId, thumbnailId) {
// or there is no thumbnail id given, and we're at the first thumbnail.
if (thumbnailDivs[i].id == thumbnailId || (!thumbnailId && !i)) {
thumbnailDivs[i].classList.add('image-thumbnail-container-selected');
- selectedThumbnailId = thumbnailId;
+ selectedThumbnailId = thumbnailDivs[i].id;
savedThumbnailIds[divId] = thumbnailId;
}
}
« no previous file with comments | « no previous file | chrome/browser/ui/webui/screenshot_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698