mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Checked in patch for bug 265399:
###!!! ASSERTION: You are calling CreateInstance "{ed3db3fc-0168-4cab-8818-98f5475a490c}" when a service for this CID already exists!: 'Error', file r:/mozilla/xpcom/components/nsComponentManager.cpp, line 1880
This commit is contained in:
parent
249640df18
commit
14d1dbe196
@ -295,7 +295,7 @@ var toDoTreeView =
|
||||
getCellProperties : function( row,column, props )
|
||||
{
|
||||
calendarToDo = gTaskArray[row];
|
||||
var aserv=Components.classes["@mozilla.org/atom-service;1"].createInstance(Components.interfaces.nsIAtomService);
|
||||
var aserv=Components.classes["@mozilla.org/atom-service;1"].getService(Components.interfaces.nsIAtomService);
|
||||
|
||||
// Moz1.8 trees require column.id, moz1.7 and earlier trees use column.
|
||||
if( (typeof(column)=="object" ? column.id : column) == "unifinder-todo-tree-col-priority" )
|
||||
@ -316,7 +316,7 @@ var toDoTreeView =
|
||||
getRowProperties : function( row,props ){
|
||||
calendarToDo = gTaskArray[row];
|
||||
|
||||
var aserv=Components.classes["@mozilla.org/atom-service;1"].createInstance(Components.interfaces.nsIAtomService);
|
||||
var aserv=Components.classes["@mozilla.org/atom-service;1"].getService(Components.interfaces.nsIAtomService);
|
||||
props.AppendElement(aserv.getAtom(ToDoProgressAtom( calendarToDo )));
|
||||
},
|
||||
isSorted : function(){return false;},
|
||||
|
Loading…
Reference in New Issue
Block a user