jQuery UI Dialog - missing close icon

前端 未结 17 2179
礼貌的吻别
礼貌的吻别 2020-11-28 19:15

I\'m using a custom jQuery 1.10.3 theme. I downloaded every straight from the theme roller and I have intentionally not changed anything.

I created a dialog box and I

17条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-28 19:49

    As a reference, this is how I extended the open method as per @john-macintyre's suggestion:

    $.widget( "ui.dialog", $.ui.dialog, {
    	open: function() {
    		$(this.uiDialogTitlebarClose)
    			.html("close");
    		// Invoke the parent widget's open().
    		return this._super();
    	}
    });

提交回复
热议问题