1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 function onPageLoad() {
6 var networkStatus = $('network-status');
7 network.status.NetworkStatusList.decorate(networkStatus);
9 networkStatus.setUserActionHandler(function(action) {
10 if (action.command == 'openConfiguration') {
12 chrome.extension.getURL('config.html?network=' + action.networkId);
13 window.open(configUrl, 'network-config-frame');
18 document.addEventListener('DOMContentLoaded', onPageLoad);