Tizenwinset: substring split view text message
authorhjnim.kim <hjnim.kim@samsung.com>
Sat, 6 Apr 2013 06:35:48 +0000 (15:35 +0900)
committerYoumin Ha <youmin.ha@samsung.com>
Wed, 10 Apr 2013 14:50:39 +0000 (23:50 +0900)
splitview text message substring before alert
N_SE-32339

Change-Id: I3b82d611672632a1d832a50d43bb953535822ec7

demos/tizen-winsets/widgets/splitview.html

index 61bcc77..b1e763c 100644 (file)
@@ -64,7 +64,9 @@
                                                "* Down pane: \n" +
                                                ( ( typeof downContents === "undefined" || !downContents ) ? "" : downContents[ 0 ].outerHTML );
 
+                       contents = contents.substring(0, 120) + "..." ;
                        window.alert( contents );
+
                });
 
                $( "#testFixed" ).bind( "vclick", function () {