diff options
author | nkostylev@chromium.org <nkostylev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-31 16:36:10 +0000 |
---|---|---|
committer | nkostylev@chromium.org <nkostylev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-31 16:36:10 +0000 |
commit | a5a4aaaff9abd50f7205feb553d128eef9bf49b2 (patch) | |
tree | d652de93fdfca741bdb5588e0c9e43bb74006694 /chrome/browser/resources | |
parent | bafeffb8323eafb041fb08691c269dadc60e644a (diff) | |
download | chromium_src-a5a4aaaff9abd50f7205feb553d128eef9bf49b2.zip chromium_src-a5a4aaaff9abd50f7205feb553d128eef9bf49b2.tar.gz chromium_src-a5a4aaaff9abd50f7205feb553d128eef9bf49b2.tar.bz2 |
[cros] Hide roaming controls if cellular device is not available.
BUG=chromium-os:12008
TEST=none
Review URL: http://codereview.chromium.org/6780023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80012 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources')
-rw-r--r-- | chrome/browser/resources/options/chromeos_internet_options.html | 2 | ||||
-rw-r--r-- | chrome/browser/resources/options/chromeos_internet_options.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/resources/options/chromeos_internet_options.html b/chrome/browser/resources/options/chromeos_internet_options.html index f22a728..95bcb58 100644 --- a/chrome/browser/resources/options/chromeos_internet_options.html +++ b/chrome/browser/resources/options/chromeos_internet_options.html @@ -21,7 +21,7 @@ <span i18n-content="ownerOnly"></span> <span i18n-content="ownerUserId"></span> </div> - <div class="checkbox"> + <div id="data-roaming" class="checkbox"> <label> <input id="enable-data-roaming" pref="cros.signed.data_roaming_enabled" diff --git a/chrome/browser/resources/options/chromeos_internet_options.js b/chrome/browser/resources/options/chromeos_internet_options.js index 52879e4..8fe8f5ff 100644 --- a/chrome/browser/resources/options/chromeos_internet_options.js +++ b/chrome/browser/resources/options/chromeos_internet_options.js @@ -189,7 +189,7 @@ cr.define('options', function() { } else { $('enable-cellular').hidden = true; $('disable-cellular').hidden = true; - $('enable-data-roaming').hidden = true; + $('data-roaming').hidden = true; } InternetOptions.useSettingsUI = data.networkUseSettingsUI; |