From fc64b768c0ee108de7b88194707ec6ec548ea33e Mon Sep 17 00:00:00 2001 From: "hjnim.kim" Date: Thu, 11 Jul 2013 14:53:41 +0900 Subject: [PATCH] JQM closed popup does not add visible class ( orientation change ) UIFW does not add visible class in closed popup when orientation change event is fired DCM-2185 Change-Id: I8f912f28c1fb76711c7dbe2397944aa54977f1c1 --- ...popup-does-not-add-visible-class-when-ori.patch | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 libs/patch/0055-JQM-closed-popup-does-not-add-visible-class-when-ori.patch diff --git a/libs/patch/0055-JQM-closed-popup-does-not-add-visible-class-when-ori.patch b/libs/patch/0055-JQM-closed-popup-does-not-add-visible-class-when-ori.patch new file mode 100644 index 0000000..d782ee7 --- /dev/null +++ b/libs/patch/0055-JQM-closed-popup-does-not-add-visible-class-when-ori.patch @@ -0,0 +1,31 @@ +From df02d4aadc7b155499d84165eb38a5e99fd71421 Mon Sep 17 00:00:00 2001 +From: "hjnim.kim" +Date: Thu, 11 Jul 2013 14:40:12 +0900 +Subject: [PATCH] JQM closed popup does not add "visible" class when + orientaiton change event is fired + +JQM closed popup( this._isOpen = false ) does not add "ui-select-menu (visible class)" class when oriention change event is fired + +Signed-off-by : Hyunjung Kim ( hjnim.kim@samsung.com ) + +Change-Id: I390be6236f2a1a41ef0c76b7889fe3e77b727c03 +--- + libs/js/jquery-mobile-1.2.0/js/widgets/popup.js | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libs/js/jquery-mobile-1.2.0/js/widgets/popup.js b/libs/js/jquery-mobile-1.2.0/js/widgets/popup.js +index b593472..0bec1d4 100644 +--- a/libs/js/jquery-mobile-1.2.0/js/widgets/popup.js ++++ b/libs/js/jquery-mobile-1.2.0/js/widgets/popup.js +@@ -109,7 +109,7 @@ define( [ "jquery", + }, + + _resizeTimeout: function() { +- if ( !this._maybeRefreshTimeout() && this.positionTo === "window" ) { ++ if ( !this._maybeRefreshTimeout() && this.positionTo === "window" && this._isOpen ) { + // effectively rapid-open the popup while leaving the screen intact + this._trigger( "beforeposition" ); + this._ui.container +-- +1.7.9.5 + -- 2.7.4