зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
16695917f9
Коммит
844e66b834
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче