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