Index: xfa/src/fxfa/src/parser/xfa_object_imp.cpp |
diff --git a/xfa/src/fxfa/src/parser/xfa_object_imp.cpp b/xfa/src/fxfa/src/parser/xfa_object_imp.cpp |
index be2bed9334e51609f7422f2c08a067869085dac5..86c267bcc35c9924ddf70ab2efb1087d87849432 100644 |
--- a/xfa/src/fxfa/src/parser/xfa_object_imp.cpp |
+++ b/xfa/src/fxfa/src/parser/xfa_object_imp.cpp |
@@ -3967,13 +3967,8 @@ FX_BOOL CXFA_Node::SetCData(XFA_ATTRIBUTE eAttr, |
SetUserData(pKey, pClone, &deleteWideStringCallBack); |
} else { |
SetMapModuleString(pKey, wsValue); |
- if (eAttr == XFA_ATTRIBUTE_Name) { |
+ if (eAttr == XFA_ATTRIBUTE_Name) |
UpdateNameHash(); |
- if (XFA_LPCJSBUILTININFO pBuiltin = |
- XFA_GetJSBuiltinByHash(m_dwNameHash)) { |
- m_pDocument->GetScriptContext()->AddJSBuiltinObject(pBuiltin); |
- } |
- } |
} |
OnChanged(eAttr, (void*)(const FX_WCHAR*)wsValue, bNotify, bScriptModify); |
if (IsNeedSavingXMLNode() && eAttr != XFA_ATTRIBUTE_QualifiedName && |