Renamed more-icons-per-row-5x4-flare576
[webos-internals:adamrmcd-modifications.git] / phoneprefs / roam-control.patch
1 diff --git a/usr/palm/applications/com.palm.app.phoneprefs/app/controllers/preflist-assistant.js b/usr/palm/applications/com.palm.app.phoneprefs/app/controllers/preflist-assistant.js
2 index 4c1b0e2..97610bf 100644
3 --- a/usr/palm/applications/com.palm.app.phoneprefs/app/controllers/preflist-assistant.js
4 +++ b/usr/palm/applications/com.palm.app.phoneprefs/app/controllers/preflist-assistant.js
5 @@ -224,7 +224,8 @@ var PreflistAssistant = Class.create({
6                 
7                 this.voiceRoamingChoices =  [
8                         {label: this.carrierOnlyLabel,value: "homeonly"},
9 -                       {label : $L("Automatic"),value: "any"}
10 +                       {label : $L("Automatic"),value: "any"},
11 +                       {label : "Roam Only",value: "roamonly"}
12                 ],
13         
14                 this.voiceRoamingModel = {
15 @@ -1230,6 +1231,11 @@ voiceNumberSetDone: function(payload){
16                         $('dataroamingrow').show();
17                         $('voiceRoamingRow').removeClassName('last');
18                 }
19 +               else if(payload.extended.mode == 'roamonly') {
20 +                       this.voiceRoamingModel.currentVoiceRoaming = "roamonly";
21 +                       $('dataroamingrow').show();
22 +                       $('voiceRoamingRow').removeClassName('last');
23 +               }
24                 else {
25                         this.voiceRoamingModel.currentVoiceRoaming = "homeonly";
26                         $('dataroamingrow').hide();