提交 14446270 编写于 作者: C Catouse

* fix error when load iframe failed in modal trigger.

上级 402acdcd
......@@ -205,10 +205,10 @@
} else if(options.url) {
var onLoadBroken = function() {
var brokenContent = $modal.callComEvent(that, 'broken');
if(brokenContent) {
if(typeof brokenContent === 'string') {
$body.html(brokenContent);
readyToShow();
}
readyToShow();
};
$modal.attr('ref', options.url);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册