Popup: Apply tizen style popup and attribute support
[platform/framework/web/web-ui-fw.git] / libs / patch / jqm-1.1.0 / 0001-JQM-fix-vclick-trigger-twice-after-pageChange.patch
1 From f95cf2987e50119260db1763a1b52b4bc34d57b2 Mon Sep 17 00:00:00 2001
2 From: "wongi11.lee" <wongi11.lee@samsung.com>
3 Date: Thu, 21 Jun 2012 17:35:28 +0900
4 Subject: [PATCH] JQM:fix vclick trigger twice after pageChange.
5
6 Signed-off-by: Wongi Lee <wongi11.lee@samsung.com>
7 ---
8  .../jquery-mobile-1.1.0/js/jquery.mobile.vmouse.js |    4 ++++
9  1 file changed, 4 insertions(+)
10
11 diff --git a/libs/js/jquery-mobile-1.1.0/js/jquery.mobile.vmouse.js b/libs/js/jquery-mobile-1.1.0/js/jquery.mobile.vmouse.js
12 index 6e9b504..b608460 100644
13 --- a/libs/js/jquery-mobile-1.1.0/js/jquery.mobile.vmouse.js
14 +++ b/libs/js/jquery-mobile-1.1.0/js/jquery.mobile.vmouse.js
15 @@ -195,6 +195,10 @@ function triggerVirtualEvent( eventType, event, flags ) {
16  function mouseEventCallback( event ) {
17         var touchID = $.data(event.target, touchTargetPropertyName);
18  
19 +       if ( ( $.support.touch === true ) && ( touchID === undefined ) ) {
20 +               return;
21 +       }
22 +
23         if ( !blockMouseTriggers && ( !lastTouchID || lastTouchID !== touchID ) ){
24                 var ve = triggerVirtualEvent( "v" + event.type, event );
25                 if ( ve ) {
26 -- 
27 1.7.9.5
28