在dialog里面嵌入网页的时候会报错

提问 未结 1 217
悬赏:20飞吻
在dialog里面嵌入网页的时候会报错,但是单独打开被嵌入的网页本身不会报错
弹窗代码如下:
function opennewwindow(id,url,casename){
var $addDialogc2 = $('<form id="'+id+'process" style="width: 95%; height:95%; margin: auto; display: none;"></form>');
$addDialogc2.dialog({
href : url,
title :casename,
cache : false,
modal : true,
onLoad:function(){
$('#caseid').val(caseid);
},
onClose : function(){
$addDialogc2.dialog("destroy");
}
});
$addDialogc2.dialog('open');

}
报错情如下:
topjui.core.min.js:10 Uncaught TypeError: Cannot read property 'dc' of undefined
at _0x1A169 (topjui.core.min.js:10)
at _0x1A1CB (topjui.core.min.js:10)
at HTMLDivElement._0x1989B (topjui.core.min.js:10)
at HTMLDivElement.dispatch (jquery.min.js:3)
at HTMLDivElement.r.handle (jquery.min.js:3)
_0x1A169 @ topjui.core.min.js:10
_0x1A1CB @ topjui.core.min.js:10
_0x1989B @ topjui.core.min.js:10
dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3

topjui.core.min.js:13 Uncaught TypeError: Cannot read property 'options' of undefined
at h (topjui.core.min.js:13)
at topjui.core.min.js:13
at Object.success (topjui.core.min.js:14)
at i (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at y (jquery.min.js:4)
at XMLHttpRequest.c (jquery.min.js:4)
h @ topjui.core.min.js:13
(anonymous) @ topjui.core.min.js:13
success @ topjui.core.min.js:14
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
y @ jquery.min.js:4
c @ jquery.min.js:4
XMLHttpRequest.send (async)
send @ jquery.min.js:4
ajax @ jquery.min.js:4
loader @ topjui.core.min.js:14
i @ topjui.core.min.js:13
(anonymous) @ topjui.core.min.js:13
each @ jquery.min.js:2
each @ jquery.min.js:2
a.fn.combobox @ topjui.core.min.js:13
(anonymous) @ topjui.core.min.js:16
each @ jquery.min.js:2
each @ jquery.min.js:2
a.fn.iCombobox @ topjui.core.min.js:16
(anonymous) @ VM5322:33
i @ jquery.min.js:2
add @ jquery.min.js:2
n.fn.ready @ jquery.min.js:2
n.fn.init @ jquery.min.js:2
n @ jquery.min.js:2
(anonymous) @ VM5322:1
(anonymous) @ jquery.min.js:2
globalEval @ jquery.min.js:2
text script @ jquery.min.js:4
Xb @ jquery.min.js:4
y @ jquery.min.js:4
c @ jquery.min.js:4
send @ jquery.min.js:4
ajax @ jquery.min.js:4
n._evalUrl @ jquery.min.js:4
Ha @ jquery.min.js:3
append @ jquery.min.js:3
(anonymous) @ jquery.min.js:3
Y @ jquery.min.js:3
html @ jquery.min.js:3
(anonymous) @ topjui.core.min.js:5
success @ topjui.core.min.js:5
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
y @ jquery.min.js:4
c @ jquery.min.js:4
XMLHttpRequest.send (async)
send @ jquery.min.js:4
ajax @ jquery.min.js:4
loader @ topjui.core.min.js:5
loadData @ topjui.core.min.js:5
c @ topjui.core.min.js:5
openPanel @ topjui.core.min.js:5
(anonymous) @ topjui.core.min.js:5
each @ jquery.min.js:2
each @ jquery.min.js:2
open @ topjui.core.min.js:5
$.fn.panel @ topjui.core.min.js:5
a.fn.window @ topjui.core.min.js:5
e @ topjui.core.min.js:5
(anonymous) @ topjui.core.min.js:5
each @ jquery.min.js:2
each @ jquery.min.js:2
a.fn.window @ topjui.core.min.js:5
buildDialog @ topjui.core.min.js:5
(anonymous) @ topjui.core.min.js:5
each @ jquery.min.js:2
each @ jquery.min.js:2
$.fn.dialog @ topjui.core.min.js:5
opennewwindow @ caselist.js:271
onSelect @ caselist.js:201
_0x1A1CB @ topjui.core.min.js:10
_0x1989B @ topjui.core.min.js:10
dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3

topjui.core.min.js:13 Uncaught TypeError: Cannot read property 'options' of undefined
at h (topjui.core.min.js:13)
at topjui.core.min.js:13
at Object.success (topjui.core.min.js:14)
at i (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at y (jquery.min.js:4)
at XMLHttpRequest.c (jquery.min.js:4)
h @ topjui.core.min.js:13
(anonymous) @ topjui.core.min.js:13
success @ topjui.core.min.js:14
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
y @ jquery.min.js:4
c @ jquery.min.js:4
XMLHttpRequest.send (async)
send @ jquery.min.js:4
ajax @ jquery.min.js:4
loader @ topjui.core.min.js:14
i @ topjui.core.min.js:13
(anonymous) @ topjui.core.min.js:13
each @ jquery.min.js:2
each @ jquery.min.js:2
a.fn.combobox @ topjui.core.min.js:13
(anonymous) @ topjui.core.min.js:16
each @ jquery.min.js:2
each @ jquery.min.js:2
a.fn.iCombobox @ topjui.core.min.js:16
(anonymous) @ topjui.core.min.js:3
each @ jquery.min.js:2
each @ jquery.min.js:2
parse @ topjui.core.min.js:3
(anonymous) @ topjui.core.min.js:5
success @ topjui.core.min.js:5
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
y @ jquery.min.js:4
c @ jquery.min.js:4
XMLHttpRequest.send (async)
send @ jquery.min.js:4
ajax @ jquery.min.js:4
loader @ topjui.core.min.js:5
loadData @ topjui.core.min.js:5
c @ topjui.core.min.js:5
openPanel @ topjui.core.min.js:5
(anonymous) @ topjui.core.min.js:5
each @ jquery.min.js:2
each @ jquery.min.js:2
open @ topjui.core.min.js:5
$.fn.panel @ topjui.core.min.js:5
a.fn.window @ topjui.core.min.js:5
e @ topjui.core.min.js:5
(anonymous) @ topjui.core.min.js:5
each @ jquery.min.js:2
each @ jquery.min.js:2
a.fn.window @ topjui.core.min.js:5
buildDialog @ topjui.core.min.js:5
(anonymous) @ topjui.core.min.js:5
each @ jquery.min.js:2
each @ jquery.min.js:2
$.fn.dialog @ topjui.core.min.js:5
opennewwindow @ caselist.js:271
onSelect @ caselist.js:201
_0x1A1CB @ topjui.core.min.js:10
_0x1989B @ topjui.core.min.js:10
dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3

topjui.core.min.js:11 Uncaught TypeError: Cannot read property 'panel' of undefined
at Object.getPager (topjui.core.min.js:11)
at n.fn.init.$.(anonymous function).(anonymous function) [as datagrid] (http://localhost:8080/view/topjui/js/topjui.core.min.js:11:11377)
at HTMLTableElement.<anonymous> (topjui.core.min.js:11)
at Function.each (jquery.min.js:2)
at n.fn.init.each (jquery.min.js:2)
at Object.loaded (topjui.core.min.js:11)
at n.fn.init.$.(anonymous function).(anonymous function) [as datagrid] (http://localhost:8080/view/topjui/js/topjui.core.min.js:11:11377)
at topjui.core.min.js:11
at Object.success (topjui.core.min.js:11)
at i (jquery.min.js:2)
回帖
回帖须知