| Index: chrome/browser/resources/settings/internet_page/network_siminfo.js
|
| diff --git a/chrome/browser/resources/settings/internet_page/network_siminfo.js b/chrome/browser/resources/settings/internet_page/network_siminfo.js
|
| index 65f4677e08534fa7cc042847bb2be00036a3303d..e0a2514efc7836edb3e0d1ad0b0ab7020ddfd4e5 100644
|
| --- a/chrome/browser/resources/settings/internet_page/network_siminfo.js
|
| +++ b/chrome/browser/resources/settings/internet_page/network_siminfo.js
|
| @@ -123,10 +123,7 @@ Polymer({
|
| * @private
|
| */
|
| sendEnterPin_: function(event) {
|
| - var guid = this.networkProperties && this.networkProperties.GUID;
|
| - if (!guid)
|
| - return;
|
| -
|
| + var guid = (this.networkProperties && this.networkProperties.GUID) || '';
|
| var pin = this.$.enterPin.value;
|
| if (!this.validatePin_(pin))
|
| return;
|
| @@ -167,10 +164,7 @@ Polymer({
|
| * @private
|
| */
|
| sendChangePin_: function(event) {
|
| - var guid = this.networkProperties && this.networkProperties.GUID;
|
| - if (!guid)
|
| - return;
|
| -
|
| + var guid = (this.networkProperties && this.networkProperties.GUID) || '';
|
| var newPin = this.$.changePinNew1.value;
|
| if (!this.validatePin_(newPin, this.$.changePinNew2.value))
|
| return;
|
| @@ -208,9 +202,7 @@ Polymer({
|
| * @private
|
| */
|
| sendUnlockPin_: function(event) {
|
| - var guid = this.networkProperties && this.networkProperties.GUID;
|
| - if (!guid)
|
| - return;
|
| + var guid = (this.networkProperties && this.networkProperties.GUID) || '';
|
| var pin = this.$.unlockPin.value;
|
| if (!this.validatePin_(pin))
|
| return;
|
| @@ -245,10 +237,7 @@ Polymer({
|
| * @private
|
| */
|
| sendUnlockPuk_: function(event) {
|
| - var guid = this.networkProperties && this.networkProperties.GUID;
|
| - if (!guid)
|
| - return;
|
| -
|
| + var guid = (this.networkProperties && this.networkProperties.GUID) || '';
|
| var puk = this.$.unlockPuk.value;
|
| if (!this.validatePuk_(puk))
|
| return;
|
|
|