| Index: chrome/browser/resources/settings/internet_page/internet_detail_page.js
|
| diff --git a/chrome/browser/resources/settings/internet_page/internet_detail_page.js b/chrome/browser/resources/settings/internet_page/internet_detail_page.js
|
| index a7761fa4bca382e1c033d53b7bc529004e76ff6a..7e84ed7cdf0a63eb1811cd5c40df3c1bc7db023e 100644
|
| --- a/chrome/browser/resources/settings/internet_page/internet_detail_page.js
|
| +++ b/chrome/browser/resources/settings/internet_page/internet_detail_page.js
|
| @@ -244,8 +244,10 @@ Polymer({
|
| // Update the detail page title.
|
| this.parentNode.pageTitle = CrOnc.getNetworkName(this.networkProperties);
|
|
|
| - // Focus a button once the initial state is set.
|
| - if (!this.didSetFocus_) {
|
| + Polymer.dom.flush();
|
| +
|
| + if (this.didSetFocus_) {
|
| + // Focus a button once the initial state is set.
|
| this.didSetFocus_ = true;
|
| var button = this.$$('#buttonDiv .primary-button:not([hidden])');
|
| if (!button)
|
| @@ -996,17 +998,6 @@ Polymer({
|
| },
|
|
|
| /**
|
| - * @param {!CrOnc.NetworkProperties} networkProperties
|
| - * @return {boolean}
|
| - * @private
|
| - */
|
| - showIpConfig_: function(networkProperties) {
|
| - if (!this.isRememberedOrConnected_(networkProperties))
|
| - return false;
|
| - return !!networkProperties.IPAddressConfigType;
|
| - },
|
| -
|
| - /**
|
| * @param {!Object} curValue
|
| * @param {!Object} newValue
|
| * @return {boolean} True if all properties set in |newValue| are equal to
|
|
|