13 ported and 1 new for 1.4.0.
[webos-internals:justyns-modifications.git] / mojo / mojo-haptic-feedback-manager.patch
1 diff --git a/usr/palm/frameworks/mojo/builtins/palmInitFramework330.js b/usr/palm/frameworks/mojo/builtins/palmInitFramework330.js
2 index 177ea93..d77e805 100644
3 --- a/usr/palm/frameworks/mojo/builtins/palmInitFramework330.js
4 +++ b/usr/palm/frameworks/mojo/builtins/palmInitFramework330.js
5 @@ -11176,6 +11176,10 @@ widgetAssistant.sendChanges(triggeringEvent);
6  
7  
8  sendTap:function(triggeringEvent){
9 +               this.serviceRequest = new Mojo.Service.Request                                  
10 +               ("palm://com.palm.vibrate", {
11 +               method: 'vibrate', parameters: {'period': 0,'duration': 75 }
12 +               });
13  var tapEvent,focusedElement;
14  focusedElement=Mojo.View.getFocusedElement(this.downTarget.ownerDocument.body);
15  if(focusedElement){
16 @@ -12447,6 +12451,10 @@ Mojo.Log.error("WARNING: Caught exception in dragndrop container.dragLeave(): "+
17  
18  
19  tapEvent:function(event){
20 +               this.serviceRequest = new Mojo.Service.Request                                  
21 +               ("palm://com.palm.vibrate", {
22 +               method: 'vibrate', parameters: {'period': 0,'duration': 75 }
23 +               });
24  this.dragEnd(event);
25  },
26