fixed theming of dialog body so it'll get C if no theme specified. Fixes #398

This commit is contained in:
scottjehl 2010-11-08 22:20:09 -05:00
parent 10e9f42d8a
commit 734fb4d9b5

View file

@ -32,6 +32,9 @@ $.widget( "mobile.dialog", $.mobile.widget, {
.addClass('ui-corner-top ui-overlay-shadow')
.prepend( $closeBtn )
.end()
.find('.ui-content:not([class*="ui-body-"])')
.addClass('ui-body-c')
.end()
.find('.ui-content,[data-role=footer]')
.last()
.addClass('ui-corner-bottom ui-overlay-shadow');