From: hjnim.kim Date: Sun, 13 Jan 2013 05:35:29 +0000 (+0900) Subject: Demo: Context popup close method has been changed X-Git-Tag: accepted/tizen_2.1/20130425.023924~7^2~248 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ed11b368465ab2dd182efb8c2fb97c3b68f46d30;p=framework%2Fweb%2Fweb-ui-fw.git 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 --- 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");