Apple app mode close button firing reload
PlippiePlop opened this issue · 1 comments
PlippiePlop commented
When in in apple mobile app mode (putting icon on desk from browser and launch from there)
The close button fires a reload of the page after removing the popup. I tried to prevent this in the callbackClose function() along other things but it still fires off a page reload/refresh.
a href="#" rel="close" data-inline="true" id="closebutton">Cancel /a
It works only if I control the #closebutton outside of the simpledialog2 function call :
$("#closebutton").on("vclick",function(){
e.preventDefault();
$(".ui-simpledialog-container, .ui-simpledialog-screen").remove()
return true;
;}