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

Unified Diff: chrome/browser/resources/options/chromeos_internet_options.js

Issue 4572001: Pass wifi available/enabled status to JS at initialization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix whitespaces. Created 10 years, 1 month 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 | « chrome/browser/resources/options/chromeos_internet_options.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/chromeos_internet_options.js
diff --git a/chrome/browser/resources/options/chromeos_internet_options.js b/chrome/browser/resources/options/chromeos_internet_options.js
index 1f0f82aeb1d62cb02891c8cb07925abeb5ff1256..1c7514b48a252e478aebf86f3868ed5a5e7d2375 100644
--- a/chrome/browser/resources/options/chromeos_internet_options.js
+++ b/chrome/browser/resources/options/chromeos_internet_options.js
@@ -59,15 +59,15 @@ cr.define('options', function() {
};
$('disableWifi').onclick = function(event) {
event.target.disabled = true;
- chrome.send('disableWifi', []);
+ chrome.send('disableWifi', []);
};
$('enableCellular').onclick = function(event) {
event.target.disabled = true;
- chrome.send('enableCellular', []);
+ chrome.send('enableCellular', []);
};
$('disableCellular').onclick = function(event) {
- event.target.disabled = true;
- chrome.send('disableCellular', []);
+ event.target.disabled = true;
+ chrome.send('disableCellular', []);
};
$('purchaseMore').onclick = function(event) {
chrome.send('buyDataPlan', []);
« no previous file with comments | « chrome/browser/resources/options/chromeos_internet_options.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698