Added patches supplied by fritos1406 from precentral forums
[webos-internals:djcin7s-modifications.git] / messaging / all-attachments.patch
1 Index: /usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js
2 ===================================================================
3 --- .orig/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js
4 +++ /usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js
5 @@ -2013,7 +2013,7 @@ var ChatviewAssistant = Class.create({
6         attachFilePicker: function(event){
7                 var params = {
8                         actionType: 'attach',
9 -                       kinds: ['image'], // TODO: integrate other media types
10 +                       kinds: ['image','audio','video'], // TODO: integrate other media types
11                         defaultKind: 'image',
12                         onSelect: this.handleFilePickerSelect.bind(this)
13                 };
14 Index: /usr/palm/applications/com.palm.app.messaging/app/controllers/compose-assistant.js
15 ===================================================================
16 --- .orig/usr/palm/applications/com.palm.app.messaging/app/controllers/compose-assistant.js
17 +++ /usr/palm/applications/com.palm.app.messaging/app/controllers/compose-assistant.js
18 @@ -324,7 +324,7 @@ var ComposeAssistant = Class.create({
19    attachFilePicker: function(event) {   
20      var params = {
21                 actionType: 'attach',
22 -        kinds: ['image'], // TODO: integrate other media types
23 +        kinds: ['image','audio','video'], // TODO: integrate other media types
24          defaultKind: 'image',
25          onSelect: this.handleFilePickerSelect.bind(this)
26      };