Skip to content
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.

Apple app mode close button firing reload #56

Open
PlippiePlop opened this issue May 15, 2012 · 1 comment
Open

Apple app mode close button firing reload #56

PlippiePlop opened this issue May 15, 2012 · 1 comment

Comments

@PlippiePlop
Copy link

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;
;}

@jtsage
Copy link
Owner

jtsage commented Jun 11, 2012

It's a memory stack size issue (I think) - basically, the page is bigger than IOS will keep in memory - I'll look for a fix, but I don't know of one. (This is actually the #1 reason I hate the dialog mode)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants