add pdfviewer landscape patch
[webos-internals:shivaramv-modifications.git] / pdfviewer / pdfviewer-enable-landscape.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 666d24e..4120555 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,7 +220,6 @@ var DocumentAssistant = Class.create({
6  
7      orientationChanged: function(orientation) {
8  
9 -       return;
10         if (this.currentOrientation === orientation) 
11         {
12             return;