Results 1 to 3 of 3
  1.    #1  
    hi i am getting an error with my patch


    Name: Enable International Dialing
    Version: 1.3.5-1
    Author: chrislo
    Description: Turn on international dialing no matter which country you are in and which version of the phone you have.

    --- .orig/usr/palm/applications/com.palm.app.phoneprefs/app/controllers/preflist-assistant.jsjsjs
    +++ /usr/palm/applications/com.palm.app.phoneprefs/app/controllers/preflist-assistant.jsjsjs
    @@ -1264,21 +1264,6 @@
    updateInternationalDialingToggle: function(show, push) {
    // currently just works in NANP countries
    var region = Mojo.Locale.getCurrentFormatRegion() || '';
    - switch (region.substr(-2)) {
    - case 'us':
    - case 'ca':
    - break;
    - default:
    - $('internationalDialingRegionRow').hide();
    - $('internationalDialingInfo').hide();
    - $('internationalDialingRow').hide();
    - if (this.phoneType == 'gsm') {
    - $('callWaitingRow').addClassName('last');
    - } else {
    - $('calls').hide();
    - }
    - return;
    - }

    if (show) {
    $('internationalDialingRow').removeClassName('last');



    can anyone tell me what's wrong?
  2. #2  
    chrislo it looks like you put the wrong files in the boxes. This patch takes away the lines and I am just assuming you wanted to add them make sure you put the modified file in the altered file box.
  3. #3  
    It looks like you're trying to delete those lines from the preflist-assistant.jsjsjs.

    If the posted text is identical to the patch file you created, I believe you have to maintain the correct tabbing in the patch file...

    You should try Jason's Unified Diff Creator.


    BTW...a screenshot of errors always helps
    Last edited by xanthinealkaloid; 01/24/2010 at 07:19 PM.

Posting Permissions