From fd26548b915821714c3312631de6d41ae3e2f58b Mon Sep 17 00:00:00 2001 From: Minkyu Kang Date: Sat, 26 Jan 2013 15:23:02 +0900 Subject: [PATCH] gallery: bind create event Create the widget dynamically when triggered "create" event. Change-Id: I07bcd10fbca581a6bb23d2b7c291042a02e0b5b5 --- src/widgets/gallery/js/jquery.mobile.tizen.gallery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/gallery/js/jquery.mobile.tizen.gallery.js b/src/widgets/gallery/js/jquery.mobile.tizen.gallery.js index 1a930d6..9015904 100644 --- a/src/widgets/gallery/js/jquery.mobile.tizen.gallery.js +++ b/src/widgets/gallery/js/jquery.mobile.tizen.gallery.js @@ -677,7 +677,7 @@ }); /* End of widget */ // auto self-init widgets - $( document ).bind( "pagecreate", function ( e ) { + $( document ).bind( "pagecreate create", function ( e ) { $( e.target ).find( ":jqmData(role='gallery')" ).gallery(); }); -- 2.7.4