jquery/jquery-mobile — Issue #3275: Provide a failsafe if people use data-role="page"
Author: toddparker
Created: 2011-12-15 17:18:30+00:00
State: open

We're seeing some people try and use ```data-role="dialog"``` which isn't a valid role yet int he framework. You make a dialog by linking with ```data-rel="dialog"``` on a link but in non-ajax situations, people must be trying this instead.

The dialog role results in a blank page because it's not valid. As a first step, we can look for ```data-role="dialog"`` and change it to ```data-role="page"`` so at least the page renders.

In an upcoming update, we can try and truly support this role so the page renders as a dialog. I'll make a separate ticket for that.