| Index: chrome/browser/resources/options/chromeos/internet_options.js
|
| ===================================================================
|
| --- chrome/browser/resources/options/chromeos/internet_options.js (revision 87321)
|
| +++ chrome/browser/resources/options/chromeos/internet_options.js (working copy)
|
| @@ -406,18 +406,7 @@
|
| });
|
|
|
| $('ipTypeStatic').addEventListener('click', function(event) {
|
| - // enable ipConfigList and switch back to static values (if any)
|
| - if (data.ipconfigStatic) {
|
| - ipConfigList.dataModel.item(0).value = data.ipconfigStatic.address;
|
| - ipConfigList.dataModel.item(1).value =
|
| - data.ipconfigStatic.subnetAddress;
|
| - ipConfigList.dataModel.item(2).value = data.ipconfigStatic.gateway;
|
| - ipConfigList.dataModel.item(3).value = data.ipconfigStatic.dns;
|
| - }
|
| - ipConfigList.dataModel.updateIndex(0);
|
| - ipConfigList.dataModel.updateIndex(1);
|
| - ipConfigList.dataModel.updateIndex(2);
|
| - ipConfigList.dataModel.updateIndex(3);
|
| + // enable ipConfigList
|
| ipConfigList.disabled = false;
|
| ipConfigList.focus();
|
| ipConfigList.selectionModel.selectedIndex = 0;
|
|
|