Permalink
Browse files

Dialog Extension: remove call to _enhanced is now called by page

  • Loading branch information...
arschmitz committed Aug 14, 2013
1 parent 702a13f commit 453ae41404452263dde850151a93f43e26fe9d6c
Showing with 1 addition and 5 deletions.
  1. +1 −5 js/widgets/page.dialog.js
@@ -26,10 +26,6 @@ $.widget( "mobile.page", $.mobile.page, {
_create: function() {
this._super();
if( this.options.dialog ){
if( !this.options.enhanced ) {
this._enhance();
}
$.extend( this, {
_isCloseable: false,
@@ -45,7 +41,7 @@ $.widget( "mobile.page", $.mobile.page, {
_enhance: function() {
this._super();
// Class the markup for dialog styling and wrap interior
if( this.options.dialog ){
this.element.addClass( "ui-dialog" )

0 comments on commit 453ae41

Please sign in to comment.