2 New, 6 ported patches for 1.4.0.
[webos-internals:modifications.git] / browser / browser-gestureclick-context-menu.patch
1 diff --git a/usr/palm/applications/com.palm.app.browser/app/controllers/page-assistant.js b/usr/palm/applications/com.palm.app.browser/app/controllers/page-assistant.js
2 index 09c898f..1dc6465 100644
3 --- a/usr/palm/applications/com.palm.app.browser/app/controllers/page-assistant.js
4 +++ b/usr/palm/applications/com.palm.app.browser/app/controllers/page-assistant.js
5 @@ -621,7 +621,7 @@ PageAssistant.prototype._onWebViewSingleTap = function(event) {
6                 tapPt.left = event.centerX - tapPt.left;
7                 tapPt.top  = event.centerY - tapPt.top;
8  
9 -               if (event.altKey) {
10 +               if (event.altKey || event.metaKey) {
11  
12                         var popupItems = [
13                                 {label: $L('Open In New Card'), command:'openNew'},
14 diff --git a/usr/palm/frameworks/mojo/builtins/palmInitFramework330.js b/usr/palm/frameworks/mojo/builtins/palmInitFramework330.js
15 index 177ea93..41b577d 100644
16 --- a/usr/palm/frameworks/mojo/builtins/palmInitFramework330.js
17 +++ b/usr/palm/frameworks/mojo/builtins/palmInitFramework330.js
18 @@ -28075,7 +28075,7 @@ if(!this.isElementHighlighted&&this.trackballMode===false&&this.selectionMode===
19  this._addElementHighlight(event.centerX,event.centerY);
20  }
21  
22 -if(event.altKey){
23 +if(event.altKey || event.metaKey){
24  
25  
26