Popup: reverse orientation bug has been fixed
authorhjnim.kim <hjnim.kim@samsung.com>
Sat, 6 Apr 2013 08:01:59 +0000 (17:01 +0900)
committerYoumin Ha <youmin.ha@samsung.com>
Wed, 10 Apr 2013 14:50:40 +0000 (23:50 +0900)
reverse orientation bug has been fixed ( popup did not show when reverse orientationchange )
Orientation change explicit check

Change-Id: I129f168916a3fb45d2e3505ea21b75a9d2cdefa3

libs/patch/0041-JQM-Orientationchange-event-explicit-check.patch [new file with mode: 0644]

diff --git a/libs/patch/0041-JQM-Orientationchange-event-explicit-check.patch b/libs/patch/0041-JQM-Orientationchange-event-explicit-check.patch
new file mode 100644 (file)
index 0000000..8fb9ba3
--- /dev/null
@@ -0,0 +1,31 @@
+From d6b2162e37bed7639fb2ea87a51cf728a776363e Mon Sep 17 00:00:00 2001
+From: "hjnim.kim" <hjnim.kim@samsung.com>
+Date: Tue, 9 Apr 2013 21:09:27 +0900
+Subject: [PATCH] JQM Orientationchange event explicit check
+
+Orientationchange event explicit check
+
+Signed-off-by : hyunjung kim<hjnim.kim@samsung.com>
+
+Change-Id: I111f7e26485f88a63dfadf9821234c6b6f971ea2
+---
+ .../js/events/orientationchange.js                 |    3 ++-
+ 1 files changed, 2 insertions(+), 1 deletions(-)
+
+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
+index de903c8..db9e01e 100644
+--- a/libs/js/jquery-mobile-1.2.0/js/events/orientationchange.js
++++ b/libs/js/jquery-mobile-1.2.0/js/events/orientationchange.js
+@@ -67,7 +67,8 @@ define( [ "jquery", "../jquery.mobile.support.orientation", "./throttledresize"
+               setup: function() {
+                       // If the event is supported natively, return false so that jQuery
+                       // will bind to the event using DOM methods.
+-                      if ( $.support.orientation && !$.event.special.orientationchange.disabled ) {
++                      if ( $.support.orientation && 
++                              $.event.special.orientationchange.disabled === false ) {
+                               return false;
+                       }
+-- 
+1.7.5.4
+