root %!s(int64=2) %!d(string=hai) anos
pai
achega
17b0b60e87
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      js/Controls/Basic.js

+ 1 - 3
js/Controls/Basic.js

@@ -1882,9 +1882,7 @@ U.UF.UI.form.prototype = {
             _contentattr = this.contentattr || {}, //内容的属性
             _replaceel = U.UF.UI.form.allForm[_formattr.id] ? U.UF.UI.form.allForm[_formattr.id].form : null //得到之前创建的窗体,如果窗体存在,那么下面创建后直接替换
             ;
-        if (!(U.UF.C.isElement(this.content) && this.content.tagName == "IFRAME")) {
-
-
+        if (!(U.UF.C.isElement(this.content) && this.content.tagName == "IFRAME") && !_replaceel) {
             //窗体的统一属性设置,默认属性
             if (_formattr.style) {
                 _formattr.style.cssText = _formattr.style.cssText || "";