23 more patches ported to 1.3.5
[webos-internals:modifications.git] / messaging / messaging-force-send-offline.patch
1 diff --git a/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js b/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js
2 index aa6a2b7..fa24b93 100644
3 --- a/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js
4 +++ b/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js
5 @@ -2217,7 +2217,7 @@ var ChatviewAssistant = Class.create({
6                 // This will sometimes be an object because we pass this method directly when we observe
7                 // Mojo.Event.tap on the send button
8                 if (forceSendIfOffline && forceSendIfOffline != true) 
9 -                       forceSendIfOffline = false;
10 +                       forceSendIfOffline = true;
11                 
12                 // prevent blank messages from going through
13                 var message = this.messageTextElement.value.strip();