Descriptioninternet_detail.js: Fix errors in cellular APN selection UI.
This CL fixes the following bugs in the cellular APN setting UI.:
1. The first time the user brings up the custom APN UI, the APN input field
contents were being set to "undefined". Fixed this.
2. After setting a custom APN, if the user ever reverted to the default APN,
and if the default APN did not contain a username/password field, the
username and password fields of the Cellular.APN property were being set
to "undefined" and this was getting stored in the profile.
3. The JS now caches the APN fields set by the user so that the user can now
switch back and forth between the default and the selected APNs. Before,
trying to select the user APN via the drop-down menu resulted in the wrong
APN to be set.
BUG=282711
R=stevenjb@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221524
Patch Set 1 #
Total comments: 4
Patch Set 2 : Addressed stevenjb@'s comments. #Patch Set 3 : Fix another small but subtle bug related to APN selection. #
Total comments: 2
Patch Set 4 : Rebased. #Patch Set 5 : Rebased . #Patch Set 6 : Rebased #Messages
Total messages: 7 (0 generated)
|