Tokentextarea: Add scroll-to-top for Grouping On/Off regarding #N_SE-24877
authorMinkyeong Kim <minkyeong.kim@samsung.com>
Tue, 12 Feb 2013 09:46:54 +0000 (18:46 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Tue, 19 Feb 2013 07:58:44 +0000 (16:58 +0900)
Change-Id: Ib31f6e8b2c36e40f8e0519fd62a461d17a5a4dba

demos/tizen-winsets/widgets/tokentextarea-demo.js

index 4035354..4cf7a73 100644 (file)
 
                $( "#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 () {