Permalink
Browse files

Fix setting dialog options other than "closeBtn"

  • Loading branch information...
1 parent 146cd04 commit ce724dbaf54ebfb5f60d1c8b7601e4c63eb3847d @jdknezek jdknezek committed Feb 20, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 js/widgets/dialog.js
View
@@ -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 );
}
},

0 comments on commit ce724db

Please sign in to comment.