root il y a 2 ans
Parent
commit
17b0b60e87
1 fichiers modifiés avec 1 ajouts et 3 suppressions
  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 || "";