--- /dev/null
+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
+