port pdf landscape patch
[webos-internals:djcin7s-modifications.git] / pdf-viewer / pdf-viewer-enable-landscape-pdf-viewer.patch
1 diff --git a/usr/palm/applications/com.palm.app.pdfviewer/app/controllers/document-assistant.js b/usr/palm/applications/com.palm.app.pdfviewer/app/controllers/document-assistant.js
2 index 708a648..18d609f 100644
3 --- a/usr/palm/applications/com.palm.app.pdfviewer/app/controllers/document-assistant.js
4 +++ b/usr/palm/applications/com.palm.app.pdfviewer/app/controllers/document-assistant.js
5 @@ -220,8 +220,6 @@ var DocumentAssistant = Class.create({
6  
7      orientationChanged: function(orientation) {
8  
9 -       return;
10 -/*
11         if (this.currentOrientation === orientation)
12         {
13             return;
14 @@ -238,7 +236,6 @@ var DocumentAssistant = Class.create({
15  
16         // Re-create the adapter
17         this.dosetup();
18 -*/
19      },
20  
21      NeedPassword: function(docid) {