From: maciej moczulski Date: Tue, 16 Apr 2013 09:15:08 +0000 (+0200) Subject: Delegate init of popup widget with delegateSelfInitWithSingleSelector X-Git-Tag: 2.1b_release^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1a65514ccd379139c757e37b05ac82cd09a45d9b;p=platform%2Fframework%2Fweb%2Fweb-ui-fw.git Delegate init of popup widget with delegateSelfInitWithSingleSelector Change-Id: Ida5057cb397755068a1ea38fd1707fb594afdcd1 --- 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 index 0000000..f21db42 --- /dev/null +++ b/libs/patch/0044-JQM-Delegate-init-of-popup-widget-with-delegateSelfInitW.patch @@ -0,0 +1,30 @@ +From b9a95ce6a3ede8c3ca3f06b2f949bb92a88f6dd8 Mon Sep 17 00:00:00 2001 +From: maciej moczulski +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 +