提交 041e477c 编写于 作者: C Catouse

* fix error on load remote content in modal opened by trigger.

上级 980110c4
......@@ -298,7 +298,7 @@
try {
var $data = $(data);
if($data.filter('.modal-dialog').length) {
$dialog.replaceWith($data);
$dialog.parent().empty().append($data);
} else if($data.filter('.modal-content').length) {
$dialog.find('.modal-content').replaceWith($data);
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册