JQM closed popup does not add visible class ( orientation change )
authorhjnim.kim <hjnim.kim@samsung.com>
Thu, 11 Jul 2013 05:53:41 +0000 (14:53 +0900)
committerheeju.joo <heeju.joo@samsung.com>
Fri, 12 Jul 2013 05:41:51 +0000 (14:41 +0900)
UIFW does not add visible class in closed popup when orientation change event is fired
DCM-2185

Change-Id: I8f912f28c1fb76711c7dbe2397944aa54977f1c1

libs/patch/0055-JQM-closed-popup-does-not-add-visible-class-when-ori.patch [new file with mode: 0644]

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 (file)
index 0000000..d782ee7
--- /dev/null
@@ -0,0 +1,31 @@
+From df02d4aadc7b155499d84165eb38a5e99fd71421 Mon Sep 17 00:00:00 2001
+From: "hjnim.kim" <hjnim.kim@samsung.com>
+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
+