Popup: reverse orientation bug has been fixed
[platform/framework/web/web-ui-fw.git] / libs / patch / 0041-JQM-Orientationchange-event-explicit-check.patch
1 From d6b2162e37bed7639fb2ea87a51cf728a776363e Mon Sep 17 00:00:00 2001
2 From: "hjnim.kim" <hjnim.kim@samsung.com>
3 Date: Tue, 9 Apr 2013 21:09:27 +0900
4 Subject: [PATCH] JQM Orientationchange event explicit check
5
6 Orientationchange event explicit check
7
8 Signed-off-by : hyunjung kim<hjnim.kim@samsung.com>
9
10 Change-Id: I111f7e26485f88a63dfadf9821234c6b6f971ea2
11 ---
12  .../js/events/orientationchange.js                 |    3 ++-
13  1 files changed, 2 insertions(+), 1 deletions(-)
14
15 diff --git a/libs/js/jquery-mobile-1.2.0/js/events/orientationchange.js b/libs/js/jquery-mobile-1.2.0/js/events/orientationchange.js
16 index de903c8..db9e01e 100644
17 --- a/libs/js/jquery-mobile-1.2.0/js/events/orientationchange.js
18 +++ b/libs/js/jquery-mobile-1.2.0/js/events/orientationchange.js
19 @@ -67,7 +67,8 @@ define( [ "jquery", "../jquery.mobile.support.orientation", "./throttledresize"
20                 setup: function() {
21                         // If the event is supported natively, return false so that jQuery
22                         // will bind to the event using DOM methods.
23 -                       if ( $.support.orientation && !$.event.special.orientationchange.disabled ) {
24 +                       if ( $.support.orientation && 
25 +                               $.event.special.orientationchange.disabled === false ) {
26                                 return false;
27                         }
28  
29 -- 
30 1.7.5.4
31