Results 1 to 2 of 2
  1. sanmanc's Avatar
    Posts
    55 Posts
    Global Posts
    61 Global Posts
       #1  
    Ok I tried to do the message hack to put new messages on a different card and screwed it up somehow. Unfortunately I was to into the hack I didn't back up my file. Does anyone have the original code that was modified in the hack? Here is the file path:

    /usr/palm/applications/com.palm.app.messaging/app/controllers/listview-assistant.jsjsjs

    This is the modified section (starting at line 1054):


    launchChatView: function(chatThreadId) {
    //Need to jump to that stage if it exists
    var stageController = Mojo.Controller.appController.getStageController("messaging"+chatThreadId);
    if (stageController) {
    stageController.activate();
    return;
    }

    var params = {name: 'messaging' + chatThreadId,
    lightweight: Mojo.Controller.appInfo.lwStages
    };

    var callback = function(controller) {
    controller.pushScene('chatview',chatThreadId,{
    focusWindow: true
    });
    };

    Mojo.Controller.getAppController().createStageWithCallback(params, callback); //doesnt create ifit exists sooo
    },

    clearListBadgeForChatThreadId: function(chatThreadId) {
    var badgeContainers = ["buddyBageContainer","historyBageContainer"];
    var listItem;
    for (var i = 0; i < badgeContainers.length; i++) {
    listItem = this.controller.get(badgeContainers[i] + chatThreadId);
    if (listItem && !listItem.hasClassName('hide-unread-count')) {
    listItem.addClassName('hide-unread-count');
    }
    }
    },
    Last edited by sanmanc; 07/20/2009 at 08:37 PM.
    i500 --> Treo650 --> PPC6700 --> MotoQ --> Instinct --> Treo800w --> HTC Mogul/Palm Prē
  2. sanmanc's Avatar
    Posts
    55 Posts
    Global Posts
    61 Global Posts
       #2  
    I got it.
    i500 --> Treo650 --> PPC6700 --> MotoQ --> Instinct --> Treo800w --> HTC Mogul/Palm Prē

Posting Permissions