submitHandler添加回调参数
This commit is contained in:
parent
54e05bae60
commit
7b36d1f60c
@ -580,7 +580,7 @@
|
||||
if ($.common.isEmpty(callback)) {
|
||||
callback = function(index, layero) {
|
||||
var iframeWin = layero.find('iframe')[0];
|
||||
iframeWin.contentWindow.submitHandler();
|
||||
iframeWin.contentWindow.submitHandler(index, layero);
|
||||
}
|
||||
}
|
||||
layer.open({
|
||||
@ -658,7 +658,7 @@
|
||||
shadeClose: true,
|
||||
yes: function(index, layero) {
|
||||
var iframeWin = layero.find('iframe')[0];
|
||||
iframeWin.contentWindow.submitHandler();
|
||||
iframeWin.contentWindow.submitHandler(index, layero);
|
||||
},
|
||||
cancel: function(index) {
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user