зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
249640df18
Коммит
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;},
|
||||
|
|
Загрузка…
Ссылка в новой задаче