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

Unified Diff: chrome/browser/resources/options2/language_list.js

Issue 10255017: Fixed failure to add language in language settings page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/options2/language_options_handler2.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options2/language_list.js
diff --git a/chrome/browser/resources/options2/language_list.js b/chrome/browser/resources/options2/language_list.js
index 17fc9863cb57454a2b44cc55f75513052b5788da..72e5f214704110ae5fdf26c6bfbaa8675aaa7bcc 100644
--- a/chrome/browser/resources/options2/language_list.js
+++ b/chrome/browser/resources/options2/language_list.js
@@ -70,7 +70,7 @@ cr.define('options', function() {
this.languageCodeToLanguageInfo_ = {};
var languageList = templateData.languageList;
for (var i = 0; i < languageList.length; i++) {
- this.languageCodeToLanguageInfo_[languageCode] = languageList[i];
+ this.languageCodeToLanguageInfo_[language.code] = languageList[i];
csilv 2012/04/27 21:29:48 I'm confused by this change, can you explain it?
Danh Nguyen 2012/04/27 21:38:52 The parameter languageCode is a language code of t
}
}
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options2/language_options_handler2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698