Permalink
Browse files

Fix setting dialog options other than "closeBtn"

(cherry picked from commit ce724db)
  • Loading branch information...
1 parent b8b0911 commit a42f1a8ae97e58f147cc1382420e371e8c65c0c3 @jdknezek jdknezek committed with gabrielschulhof Feb 20, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 js/widgets/dialog.js
@@ -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 a42f1a8

Please sign in to comment.