Delegate init of popup widget with delegateSelfInitWithSingleSelector
authormaciej moczulski <m.moczulski@samsung.com>
Tue, 16 Apr 2013 09:15:08 +0000 (11:15 +0200)
committerYoumin Ha <youmin.ha@samsung.com>
Fri, 26 Apr 2013 05:43:29 +0000 (14:43 +0900)
Change-Id: Ida5057cb397755068a1ea38fd1707fb594afdcd1

libs/patch/0044-JQM-Delegate-init-of-popup-widget-with-delegateSelfInitW.patch [new file with mode: 0644]

diff --git a/libs/patch/0044-JQM-Delegate-init-of-popup-widget-with-delegateSelfInitW.patch b/libs/patch/0044-JQM-Delegate-init-of-popup-widget-with-delegateSelfInitW.patch
new file mode 100644 (file)
index 0000000..f21db42
--- /dev/null
@@ -0,0 +1,30 @@
+From b9a95ce6a3ede8c3ca3f06b2f949bb92a88f6dd8 Mon Sep 17 00:00:00 2001
+From: maciej moczulski <m.moczulski@samsung.com>
+Date: Tue, 16 Apr 2013 11:07:17 +0200
+Subject: [PATCH] Delegate init of popup widget with
+ delegateSelfInitWithSingleSelector
+
+Change-Id: If9a9d923bb30bb1a866eb9f3e0c960856626f311
+---
+ libs/js/jquery-mobile-1.2.0/js/widgets/popup.js |    5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+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 de2af2c..65d5615 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
+@@ -814,9 +814,8 @@ define( [ "jquery",
+               }
+       });
+-      $.mobile.$document.bind( "pagecreate create", function( e )  {
+-              $.mobile.popup.prototype.enhanceWithin( e.target, true );
+-      });
++      //delegate self-init widgets
++      $.delegateSelfInitWithSingleSelector( $.mobile.popup, true );
+ })( jQuery );
+ //>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
+-- 
+1.7.9.5
+