From b89f3ecbd6e05044bf51e3f57418552c0e497e01 Mon Sep 17 00:00:00 2001 From: "hjnim.kim" Date: Sat, 6 Apr 2013 17:01:59 +0900 Subject: [PATCH] Popup: reverse orientation bug has been fixed reverse orientation bug has been fixed ( popup did not show when reverse orientationchange ) Orientation change explicit check Change-Id: I129f168916a3fb45d2e3505ea21b75a9d2cdefa3 --- ...QM-Orientationchange-event-explicit-check.patch | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 libs/patch/0041-JQM-Orientationchange-event-explicit-check.patch 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 index 0000000..8fb9ba3 --- /dev/null +++ b/libs/patch/0041-JQM-Orientationchange-event-explicit-check.patch @@ -0,0 +1,31 @@ +From d6b2162e37bed7639fb2ea87a51cf728a776363e Mon Sep 17 00:00:00 2001 +From: "hjnim.kim" +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 + +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 + -- 2.7.4