Ensures that dialogs’ content elements _do_ inherit the overall page theme.

This commit is contained in:
Mat Marquis 2011-11-16 12:38:49 -05:00
parent b78584b964
commit f016c2dc21

View file

@ -22,7 +22,7 @@ $( ":jqmData(role='page'), :jqmData(role='dialog')" ).live( "pagecreate", functi
var $this = $( this ),
role = $this.jqmData( "role" ),
theme = $this.jqmData( "theme" ),
contentTheme = theme || o.contentTheme,
contentTheme = theme || o.contentTheme || ( pageRole === "dialog" && pageTheme ),
$headeranchors,
leftbtn,
rightbtn,