Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Fix setting dialog options other than "closeBtn"
Browse files Browse the repository at this point in the history
(cherry picked from commit ce724db)
  • Loading branch information
jdknezek authored and Gabriel Schulhof committed Mar 12, 2013
1 parent b8b0911 commit a42f1a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/widgets/dialog.js
Expand Up @@ -108,6 +108,8 @@ $.widget( "mobile.dialog", $.mobile.widget, {
this._setCloseBtn( value );
this._super( key, value );
this.element.attr( "data-" + ( $.mobile.ns || "" ) + "close-btn", value );
} else {
this._super( key, value );
}
},

Expand Down

0 comments on commit a42f1a8

Please sign in to comment.