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