Bug 595954: use setAttribute for setting notificationbox properties on newly created elements (whose bindings may not yet be attached), r=gavin, a=blocking

--HG--
extra : rebase_source : f8551c7d221e7308aec776528327df7bf2140c61
This commit is contained in:
Mike Connor 2010-09-17 15:30:53 -04:00
parent a122069cf6
commit 6d0a4102af

View File

@ -112,7 +112,7 @@
}
}
newitem.priority = aPriority;
newitem.setAttribute("priority", aPriority);
if (aPriority >= this.PRIORITY_CRITICAL_LOW)
newitem.setAttribute("type", "critical");
else if (aPriority <= this.PRIORITY_INFO_HIGH)