Closed lipanski closed 11 years ago
Hi, extending ui.options should be the right way to handle this but I have to test it thoroughly because the options property gets automatically enhanced by jQuery Mobile with some "weird" stuff. I want to make sure it isn't messing with the new changePage call.
Thank you very much for spotting the problem!
EDIT: Extending ui.options seems to be causing some issues, I guess I'll just preserve the options listed in: http://api.jquerymobile.com/jQuery.mobile.changePage/
sounds good, at least for jqm 1.3x
With version v20130525 one is supposed to call ui.bCDeferred.resolve() inside the bC event in order to resume normal flow. However, data-direction=reverse (or reverse=true) behaviour is lost for all pages going through the bC event handler and getting rescued with resolve().
Solution: added ui.options.reverse in the deferred done callback. Actually shouldn't all ui.options parameters be extended within the same call?