在打开dialog时,添加
var $iframeShim = $("<iframe src=\"\" style=\"position:absolute; visibility:inherit; top:0px; left:0px; z-index:-1;\"></iframe>");//保证绝对能盖住
var $divShim = $("<div style='position:absolute; visibility:inherit; top:0px; left:0px; z-index:0'></div>");//保证 resizable 有效
var bgInfo = { width: $(".ui-widget-overlay").width(), height: $(".ui-widget-overlay").height() };
$iframeShim.width(bgInfo.width).height(bgInfo.height);
$divShim.width(bgInfo.width).height(bgInfo.height);
$(".ui-widget-overlay").empty().append($iframeShim).append($divShim);