From ed11b368465ab2dd182efb8c2fb97c3b68f46d30 Mon Sep 17 00:00:00 2001 From: "hjnim.kim" Date: Sun, 13 Jan 2013 14:35:29 +0900 Subject: [PATCH] Demo: Context popup close method has been changed Context popup close method has been changed ( css close method not using anymore, it was replaced 'data-rel="back"' ) Change-Id: I31da4d4be83f12ce674b47b8e9358e7699dc5ec2 --- demos/tizen-winsets/widgets/ctxpopup.html | 4 ++-- demos/tizen-winsets/widgets/ctxpopup.js | 7 ------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/demos/tizen-winsets/widgets/ctxpopup.html b/demos/tizen-winsets/widgets/ctxpopup.html index a624fbe..6e784e4 100755 --- a/demos/tizen-winsets/widgets/ctxpopup.html +++ b/demos/tizen-winsets/widgets/ctxpopup.html @@ -9,8 +9,8 @@

diff --git a/demos/tizen-winsets/widgets/ctxpopup.js b/demos/tizen-winsets/widgets/ctxpopup.js index 2109a71..50aa329 100644 --- a/demos/tizen-winsets/widgets/ctxpopup.js +++ b/demos/tizen-winsets/widgets/ctxpopup.js @@ -1,17 +1,10 @@ $("#pop_js").live("vclick", function ( e ) { - if ( $(e.target).is(".ui-btn-ctxpopup-close") ) { - $(this).popup("close"); - } if ( $(e.target).is("#ctxpopup_update") ) { $("#btn_js").text("Peekaboo!"); $("#btn_js").buttonMarkup("refresh"); } }); -var closeTest = function() -{ - alert('test'); -} var popupTest = function() { $("#pop_text_only").popup("open"); -- 2.7.4