updateds
[webos-internals:modifications.git] / browser / browser-disable-landscape-gesture-scroll.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..289e3a3 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 @@ -92,7 +92,7 @@ PageAssistant.prototype.setup = function() {
6                 this._updateOrientation();
7  
8                 // Allow override of 'back' gesture in landscape mode.
9 -               this.controller.useLandscapePageUpDown(true);
10 +               this.controller.useLandscapePageUpDown(false);
11  
12                 // Create the browser server status control.
13                 this._browserServerStatus = new BrowserServerStatus(this.controller);
14 diff --git a/usr/palm/applications/com.palm.app.browser/app/controllers/startpage-assistant.js b/usr/palm/applications/com.palm.app.browser/app/controllers/startpage-assistant.js
15 index 1d890db..aa9dbb1 100644
16 --- a/usr/palm/applications/com.palm.app.browser/app/controllers/startpage-assistant.js
17 +++ b/usr/palm/applications/com.palm.app.browser/app/controllers/startpage-assistant.js
18 @@ -23,7 +23,7 @@ StartpageAssistant.prototype.setup = function() {
19         this._updateOrientation();
20  
21         // Allow override of 'back' gesture in landscape mode.
22 -       this.controller.useLandscapePageUpDown(true);
23 +       this.controller.useLandscapePageUpDown(false);
24  
25         // Listen for scene scope keyboard events.
26         this.controller.listen(this.controller.sceneElement, Mojo.Event.keydown, this._onKeyDownEventHandler);