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

Unified Diff: chrome/browser/resources/options/chromeos/network_list.js

Issue 1472203002: Fix broken js closure in network_list.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | 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/network_list.js
diff --git a/chrome/browser/resources/options/chromeos/network_list.js b/chrome/browser/resources/options/chromeos/network_list.js
index d6d8d625e2fcbe1759d7e904e308729285957c64..2e0320d9fe7067dfa4520399ad8270044c62aa29 100644
--- a/chrome/browser/resources/options/chromeos/network_list.js
+++ b/chrome/browser/resources/options/chromeos/network_list.js
@@ -844,7 +844,7 @@ cr.define('options.network', function() {
* @param {!Element} menu Parent menu.
* @param {?NetworkProperties} data Description of the network.
* @param {!string} label Display name for the menu item.
- * @param {!Function} command Callback function.
+ * @param {Function} command Callback function.
* @return {!Element} The created menu item.
* @private
*/
@@ -1561,7 +1561,7 @@ cr.define('options.network', function() {
* Return whether connecting to or viewing unmanaged networks is allowed.
* @private
*/
- function allowUnmanagedNetworks_(item) {
+ function allowUnmanagedNetworks_() {
if (loadTimeData.valueExists('allowOnlyPolicyNetworksToConnect') &&
loadTimeData.getBoolean('allowOnlyPolicyNetworksToConnect')) {
return false;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698