fix for issue #2776: Select full page menus background wrong

This commit is contained in:
Maurice Gottlieb 2011-10-21 01:05:18 +03:00
parent efe1896b93
commit 6e536eb6b5

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