Difference between revisions of "Patch Messaging Force Offline Send Without Dialog"

From WebOS Internals
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{template:patch}}
 
{{template:patch}}
<code><pre>
 
sudo mount -o remount,rw /
 
sudo vi /usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js
 
/forceSendIfOffline =
 
</pre></code>
 
  
Change the line to true (below) , writequit , remount, reload , enjoy
+
=== The Change ===
 +
- Make a backup of the file you are going to edit:
 +
<pre>
 +
cd /usr/palm/applications/com.palm.app.messaging/app/controllers/
 +
cp chatview-assistant.js chatview-assistant.js.orig
 +
</pre>
  
<code><pre>
+
- Open the file in vi:
forceSendIfOffline = true;
+
<pre>
:wq
+
vi chatview-assistant.js
sudo mount -o remount,ro /
+
</pre>
sudo stop LunaSysMgr ; sudo start LunaSysMgr
+
 
</pre></code>
+
- Once the file is loaded, search for the string "forceSendIfOffline" by hitting the "/" key and then typing the string "forceSendIfOffline" and pressing enter
 +
 
 +
- hit the "i" key to inssert.
 +
 
 +
- Move to the part of the line that says "false" and change to "true"
 +
 
 +
- Save the file (:qw)
 +
 
 +
- Reload the system and you are done:
 +
<pre>
 +
    sudo stop LunaSysMgr ; sudo start LunaSysMgr
 +
</pre>

Latest revision as of 19:02, 11 August 2009


The Change

- Make a backup of the file you are going to edit:

cd /usr/palm/applications/com.palm.app.messaging/app/controllers/
cp chatview-assistant.js chatview-assistant.js.orig

- Open the file in vi:

vi chatview-assistant.js 

- Once the file is loaded, search for the string "forceSendIfOffline" by hitting the "/" key and then typing the string "forceSendIfOffline" and pressing enter

- hit the "i" key to inssert.

- Move to the part of the line that says "false" and change to "true"

- Save the file (:qw)

- Reload the system and you are done:

    sudo stop LunaSysMgr ; sudo start LunaSysMgr