We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3303c1 commit a034903Copy full SHA for a034903
1 file changed
ui/ui.dialog.js
@@ -31,12 +31,11 @@ $.widget("ui.dialog", {
31
32
_init: function() {
33
this.originalTitle = this.element.attr('title');
34
- this.options.title = this.options.title || this.originalTitle;
35
36
var self = this,
37
options = this.options,
38
39
- title = options.title || ' ',
+ title = options.title || this.originalTitle || ' ',
40
titleId = $.ui.dialog.getTitleId(this.element),
41
42
uiDialog = (this.uiDialog = $('<div/>'))
@@ -487,6 +486,7 @@ $.extend($.ui.dialog, {
487
486
position: 'center',
488
resizable: true,
489
stack: true,
+ title: '',
490
width: 300,
491
zIndex: 1000
492
},
0 commit comments