Bug 185790 Impossible to remove JavaScript Events in Composer r=brade sr=sfraser a=asa

This commit is contained in:
neil%parkwaycc.co.uk 2003-02-14 11:42:10 +00:00
parent 57144ccd3a
commit fb9e022960

View File

@ -173,9 +173,10 @@ function UpdateJSEAttributes()
// remove removed attributes
for (i = 0; i < JSERAttrs.length; i++)
{
name = JSERAttrs[i];
if (gElement.getAttribute(name))
doRemoveAttribute(gElement, name);
var name = JSERAttrs[i];
if (gElement.hasAttribute(name))
doRemoveAttribute(name);
}
// Add events