From: Minkyeong Kim Date: Tue, 12 Feb 2013 09:46:54 +0000 (+0900) Subject: Tokentextarea: Add scroll-to-top for Grouping On/Off regarding #N_SE-24877 X-Git-Tag: accepted/tizen_2.1/20130425.023924~7^2~80 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=50152eee9f4a63d8ebd788298acb8e86f2f0f89b;p=framework%2Fweb%2Fweb-ui-fw.git Tokentextarea: Add scroll-to-top for Grouping On/Off regarding #N_SE-24877 Change-Id: Ib31f6e8b2c36e40f8e0519fd62a461d17a5a4dba --- diff --git a/demos/tizen-winsets/widgets/tokentextarea-demo.js b/demos/tizen-winsets/widgets/tokentextarea-demo.js index 4035354..4cf7a73 100644 --- a/demos/tizen-winsets/widgets/tokentextarea-demo.js +++ b/demos/tizen-winsets/widgets/tokentextarea-demo.js @@ -38,10 +38,12 @@ $( "#MBTfocusInTest" ).click( function () { $( ":jqmData(role='tokentextarea')" ).tokentextarea( "focusIn", 0 ); + $( ":jqmData(role='tokentextarea')" ).parents( ".ui-scrollview-view" ).parent().scrollview( "scrollTo", 0, 0 ); }); $( "#MBTfocusOutTest" ).click( function () { $( ":jqmData(role='tokentextarea')" ).tokentextarea( "focusOut", 0 ); + $( ":jqmData(role='tokentextarea')" ).parents( ".ui-scrollview-view" ).parent().scrollview( "scrollTo", 0, 0 ); }); $( "#MBTdestroyTest" ).click( function () {