intel / appframework

The definitive HTML5 mobile javascript framework
http://app-framework-software.intel.com/
MIT License
2.43k stars 882 forks source link

jq.popup.js triggers underlying events #112

Closed Pi-XL closed 12 years ago

Pi-XL commented 12 years ago

Hi,

alert ('Test') also triggers events that are located under the pop up, eg. links. When the OK button is clicked.

Thank you for the great work.

imaffett commented 12 years ago

Please supply phone, os and a test if possible

Pi-XL commented 12 years ago

OK, here is the external page for the test. It happens only on external pages. I use Samsung Galaxy S2, Android 2.3.3; Motorola Defy+; Acer Liquid with Android 2.2.

<div title="External Page" id="jquiexternal" > This is content loaded from an external page. There will be a div created, but we will force a reload Random # <span id='mytest'></span> <script> window.setTimeout(function(){ $("#mytest").html(Math.floor(Math.random()*11)) },10); alert('Test'); </script> </div> <a href="javascript: $.ui.actionsheet('<a href=\'#\' class=\'button\'>Buy</a>');" style="display: block; height: 300px; width: 100%; background: #FC0;">Action</a>

imaffett commented 12 years ago

Confirmed this...but it's not just with external content.