| Index: chrome/browser/resources/options/language_options.js
|
| diff --git a/chrome/browser/resources/options/language_options.js b/chrome/browser/resources/options/language_options.js
|
| index 8c388cf1b3543bc50daeaa0da7e7cc27a1230fb7..0204e3ad3d31e55af3500dad8ee7039f857a2da3 100644
|
| --- a/chrome/browser/resources/options/language_options.js
|
| +++ b/chrome/browser/resources/options/language_options.js
|
| @@ -90,6 +90,14 @@ cr.define('options', function() {
|
| }
|
| };
|
|
|
| + // Set up the button for editing custom spelling dictionary.
|
| + var editDictionaryButton = $('edit-dictionary');
|
| + if (editDictionaryButton) {
|
| + editDictionaryButton.onclick = function(e) {
|
| + OptionsPage.navigateToPage('dictionary');
|
| + };
|
| + }
|
| +
|
| if (cr.isChromeOS) {
|
| // Listen to user clicks on the add language list.
|
| var addLanguageList = $('add-language-overlay-language-list');
|
| @@ -693,6 +701,7 @@ cr.define('options', function() {
|
| var value = !$('enable-spell-check').checked;
|
|
|
| $('language-options-spell-check-language-button').disabled = value;
|
| + $('edit-dictionary').hidden = value;
|
| },
|
|
|
| /**
|
|
|