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:
mostafah%oeone.com 2004-10-26 19:30:50 +00:00
parent 249640df18
commit 14d1dbe196

View File

@ -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;},