Commit d962d3bb authored by pneubeck@chromium.org's avatar pneubeck@chromium.org

Fix incorrect loadTimeData checks in internet_details.js.

BUG=241840

Review URL: https://chromiumcodereview.appspot.com/15997006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202468 0039d316-1c4b-4281-b951-d872f2087c98
parent 73d632d4
...@@ -288,7 +288,7 @@ cr.define('options.internet', function() { ...@@ -288,7 +288,7 @@ cr.define('options.internet', function() {
// stored) is not accessible from the login screen. // stored) is not accessible from the login screen.
// TODO(pneubeck): Remove this once i18n of the proxy dialog on the login // TODO(pneubeck): Remove this once i18n of the proxy dialog on the login
// page is fixed. http://crbug.com/242865 // page is fixed. http://crbug.com/242865
if (loadTimeData.data) { if (loadTimeData.data_) {
$('google-dns-label').innerHTML = $('google-dns-label').innerHTML =
loadTimeData.getString('googleNameServers'); loadTimeData.getString('googleNameServers');
} }
...@@ -405,7 +405,7 @@ cr.define('options.internet', function() { ...@@ -405,7 +405,7 @@ cr.define('options.internet', function() {
*/ */
updateProxyBannerVisibility_: function() { updateProxyBannerVisibility_: function() {
var bannerDiv = $('network-proxy-info-banner'); var bannerDiv = $('network-proxy-info-banner');
if (!loadTimeData.data) { if (!loadTimeData.data_) {
// TODO(pneubeck): This temporarily prevents an exception below until // TODO(pneubeck): This temporarily prevents an exception below until
// i18n of the proxy dialog on the login page is // i18n of the proxy dialog on the login page is
// fixed. http://crbug.com/242865 // fixed. http://crbug.com/242865
......
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