|
@@ -2039,6 +2039,7 @@ U.UF.UI.form.prototype = {
|
|
|
"title": "点击关闭",
|
|
|
"onmousedown": U.UF.EV.stopBubble,
|
|
|
"onclick": U.UF.C.apply(this, function () {
|
|
|
+ this.windowstate = "close";
|
|
|
U.UF.F.closeWindow(this.form); //调用窗体关闭函数
|
|
|
try {
|
|
|
//关闭任务栏处理
|
|
@@ -2066,6 +2067,7 @@ U.UF.UI.form.prototype = {
|
|
|
"onmousedown": U.UF.EV.stopBubble,
|
|
|
//最大化点击事件处理
|
|
|
"onclick": function () {
|
|
|
+ this.windowstate = "max";
|
|
|
U.UF.F.windowZooming(_formel); //调用窗体最大化函数
|
|
|
}
|
|
|
}, _headbottom);
|
|
@@ -2093,6 +2095,7 @@ U.UF.UI.form.prototype = {
|
|
|
"title": "最小化",
|
|
|
"onmousedown": U.UF.EV.stopBubble,
|
|
|
"onclick": U.UF.C.apply(this, function () {
|
|
|
+ this.windowstate = "min";
|
|
|
U.UF.F.windowMinimize(_formel); //窗体最小化处理
|
|
|
//回调处理
|
|
|
if (U.UF.C.isFunction(this.narrowcallback)) {
|
|
@@ -2114,7 +2117,7 @@ U.UF.UI.form.prototype = {
|
|
|
}
|
|
|
else {
|
|
|
//有特殊关闭处理的,需要重新加载
|
|
|
- if (this.closecallback) {
|
|
|
+ if (this.closecallback && this.windowstate == "cloase") {
|
|
|
try {
|
|
|
if (this.content.tagName == "IFRAME") {
|
|
|
this.content.src += '';
|