version 1.127, 2007/02/09 09:59:04
|
version 1.128, 2007/02/13 08:07:37
|
Line 1290 ThotBool TemplateElementWillBeCreated (N
|
Line 1290 ThotBool TemplateElementWillBeCreated (N
|
if (ancestor != parent) |
if (ancestor != parent) |
return FALSE; // let Thot do the job |
return FALSE; // let Thot do the job |
types = GetAttributeStringValueFromNum(ancestor, Template_ATTR_currentType, NULL); |
types = GetAttributeStringValueFromNum(ancestor, Template_ATTR_currentType, NULL); |
b = Template_CanInsertElementInUse(event->document, elType, types, parent, event->position); |
b = Template_CanInsertElementInUse(event->document, elType, types, parent, event->position); |
|
TtaFreeMemory(types); |
return !b; |
return !b; |
|
|
} |
} |