Merge pull request #2783 from MauriceG/patch-14

fix for issue #2776: Select full page menus background wrong color.
This commit is contained in:
Mat Marquis 2011-10-20 15:14:17 -07:00
commit 0a84a9eeea

View file

@ -9,7 +9,7 @@
$.widget( "mobile.dialog", $.mobile.widget, { $.widget( "mobile.dialog", $.mobile.widget, {
options: { options: {
closeBtnText : "Close", closeBtnText : "Close",
theme : "a", dialogTheme : "a",
initSelector : ":jqmData(role='dialog')" initSelector : ":jqmData(role='dialog')"
}, },
_create: function() { _create: function() {
@ -22,7 +22,7 @@ $.widget( "mobile.dialog", $.mobile.widget, {
$el.removeClass( pageTheme[ 0 ] ); $el.removeClass( pageTheme[ 0 ] );
} }
$el.addClass( "ui-body-" + this.options.theme ); $el.addClass( "ui-body-" + this.options.dialogTheme );
// Class the markup for dialog styling // Class the markup for dialog styling
// Set aria role // Set aria role