|
|
@ -722,9 +722,13 @@ var table = {
|
|
|
|
$.modal.alert(content, modal_status.WARNING);
|
|
|
|
$.modal.alert(content, modal_status.WARNING);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 关闭窗体
|
|
|
|
// 关闭窗体
|
|
|
|
close: function () {
|
|
|
|
close: function (index) {
|
|
|
|
var index = parent.layer.getFrameIndex(window.name);
|
|
|
|
if($.common.isEmpty(index)){
|
|
|
|
parent.layer.close(index);
|
|
|
|
var index = parent.layer.getFrameIndex(window.name);
|
|
|
|
|
|
|
|
parent.layer.close(index);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
layer.close(index);
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 关闭全部窗体
|
|
|
|
// 关闭全部窗体
|
|
|
|
closeAll: function () {
|
|
|
|
closeAll: function () {
|
|
|
|