After attempting to use the orientationChangeEnabled setting with JQM 1.2.0, I found that this setting has no affect anymore. Comparing the code from JQM 1.0 to the current master, it seems that orientationChangeEnabled has been deprecated, but a default is still being set, and the documents (http://jquerymobile.com/demos/1.2.0/docs/api/events.html) still reference it.
Should this setting be marked as deprecated in the docs?
@jkane001 - Thanks for reporting the issue.
@gseguin - With commits eb1ad6f and 5f96ad7 we changed the check from $.mobile.orientationChangeEnabled to !$.event.special.orientationchange.disabled and it looks like that is the reason you can't configure it anymore. However, in core.js we still have orientationChangeEnabled: true so I am not really sure if this has been deprecated deliberately.
So what I should use to stop the browser orientation on Ipad???
@gseguin your reply is so complecated. Just write down the code to stop orientation.
This ticket is about orientationChangeEnabled. That option was about an event (see http://jquerymobile.com/demos/1.2.0/docs/api/events.html).
It has nothing to do with fixing the orientation in the browser. That isn't possible, so nobody can "Just write down the code to stop orientation" for you even if you ask nicely.