From 6e536eb6b54b7016a46f337b865282b1c71cb6f3 Mon Sep 17 00:00:00 2001 From: Maurice Gottlieb Date: Fri, 21 Oct 2011 01:05:18 +0300 Subject: [PATCH] fix for issue #2776: Select full page menus background wrong --- js/jquery.mobile.dialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/jquery.mobile.dialog.js b/js/jquery.mobile.dialog.js index 7455201502b..4e05f06961f 100644 --- a/js/jquery.mobile.dialog.js +++ b/js/jquery.mobile.dialog.js @@ -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