jtsage/jquery-mobile-simpledialog — Issue #38: Page gradient cut off on iOS5 (at least)
Author: rbdrbd
Created: 2012-02-07 14:31:27+00:00
State: open

Using a simple logout-like dialog:
```
$(document).delegate('.hdrLogoutBtn', 'click', function() {
$(this).simpledialog({
'mode' : 'bool',
'prompt' : 'Logout?',
'cleanOnClose': true,
'useModal': true,
'buttons' : {
'Yes': {
click: function () {
$.get("/logout", function(data) {
location.reload(true); //do not use cache: request from the server
});
}
},
'No': {
click: function () {
},
icon: "delete",
theme: "c"
}
}
});
});
```

The page gradient is being cut off in iOS 5. Screenshot of this here on an iPhone4 running iOS 5.x: http://dl.dropbox.com/u/9719672/misc/jqmsimpledialog-ios5.png