Tizen 2.0 Release
[platform/framework/web/web-ui-fw.git] / libs / patch / 0009-JQM-checkbox-set-focus-when-click-the-checkbox.patch
1 From 02f7c040428383d05c277e286c54680a7e1f5812 Mon Sep 17 00:00:00 2001
2 From: Minkyu Kang <mk7.kang@samsung.com>
3 Date: Mon, 26 Nov 2012 20:01:31 +0900
4 Subject: [PATCH] JQM: checkbox: set focus when click the checkbox
5
6 Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
7 ---
8  .../js/widgets/forms/checkboxradio.js              |    1 +
9  1 file changed, 1 insertion(+)
10
11 diff --git a/libs/js/jquery-mobile-1.2.0/js/widgets/forms/checkboxradio.js b/libs/js/jquery-mobile-1.2.0/js/widgets/forms/checkboxradio.js
12 index 2e1114f..762307a 100644
13 --- a/libs/js/jquery-mobile-1.2.0/js/widgets/forms/checkboxradio.js
14 +++ b/libs/js/jquery-mobile-1.2.0/js/widgets/forms/checkboxradio.js
15 @@ -166,6 +166,7 @@ $.widget( "mobile.checkboxradio", $.mobile.widget, {
16                         if ( this.checked || self.inputtype === "checkbox" ) {
17                                 $this.trigger( "change" );
18                         }
19 +                       $this.focus();
20                 })
21                 .checkboxradio( "refresh" );
22         },
23 -- 
24 1.7.9.5
25