summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJadwiga Sosnowska <j.sosnowska@partner.samsung.com>2013-09-11 11:53:15 +0200
committerheeju Joo <heeju.joo@samsung.com>2013-10-04 14:18:12 +0900
commit4f1b7ae994635090dbccfd6c7f98b5fb441fc93f (patch)
treea78f2bf99cc434d62dfec347baf0cb3cc8b84258
parent1485c1e974f162d4a0c7574fbc6abf864a80ae48 (diff)
downloadweb-ui-fw-4f1b7ae994635090dbccfd6c7f98b5fb441fc93f.tar.gz
web-ui-fw-4f1b7ae994635090dbccfd6c7f98b5fb441fc93f.tar.bz2
web-ui-fw-4f1b7ae994635090dbccfd6c7f98b5fb441fc93f.zip
winsets/list: fix vclick trigger after click on subtext in multiline (N_SE-51825)
Change-Id: Ib4184190e54457dc90ce3a1689cfb4c06fcfb1dd
-rw-r--r--demos/tizen-winsets/widgets/list/list-normal_anchor.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/demos/tizen-winsets/widgets/list/list-normal_anchor.html b/demos/tizen-winsets/widgets/list/list-normal_anchor.html
index fd70b1d5..9a0438ad 100644
--- a/demos/tizen-winsets/widgets/list/list-normal_anchor.html
+++ b/demos/tizen-winsets/widgets/list/list-normal_anchor.html
@@ -453,6 +453,18 @@
window.history.back();
}
});
+ $( ".ui-li-text-sub" ).on ( "vclick" , function( event ) {
+ var targetParent = $( event.target ).parent(),
+ checkboxradio = targetParent.find( ".ui-checkbox" );
+
+ if ( !checkboxradio.length ) {
+ checkboxradio = targetParent.find( ".ui-radio" );
+ }
+
+ if ( checkboxradio.length ) {
+ checkboxradio.children( "label" ).trigger( "vclick" );
+ }
+ });
});
$( "#genlist-normal" ).on( "pagebeforehide" , function() {
//unbind callbacks to the H/W keys