Landing bookmarks changes.

Bug 205378 - Meta bug for changes in bookmarks sorting code
r=jag, sr=sspitzer, a=sspitzer,asa

The CloneResource() has been back ported from Firebird, originally
implemented by Pierre Chanial.
This commit is contained in:
varga%netscape.com 2006-07-27 14:57:27 +00:00
parent 91cd352614
commit a01dca7166
5 changed files with 12 additions and 14 deletions

View File

@ -97,8 +97,8 @@ var RDF_observer =
onChange: function(ds, src, prop, old_target, new_target) { },
onMove: function(ds, old_src, new_src, prop, target) { },
beginUpdateBatch: function(ds) { },
endUpdateBatch: function(ds) { }
onBeginUpdateBatch: function(ds) { },
onEndUpdateBatch: function(ds) { }
};
function

View File

@ -223,14 +223,12 @@ nsHistoryController.prototype =
if (!gGlobalHistory)
gGlobalHistory = Components.classes["@mozilla.org/browser/global-history;1"].getService(Components.interfaces.nsIBrowserHistory);
gGlobalHistory.removePagesFromHost(gLastHostname, false)
gHistoryTree.builder.rebuild();
return true;
case "cmd_deleteByDomain":
if (!gGlobalHistory)
gGlobalHistory = Components.classes["@mozilla.org/browser/global-history;1"].getService(Components.interfaces.nsIBrowserHistory);
gGlobalHistory.removePagesFromHost(gLastDomain, true)
gHistoryTree.builder.rebuild();
return true;
default:

View File

@ -110,11 +110,11 @@ var RDF_observer =
{
},
beginUpdateBatch : function(ds)
onBeginUpdateBatch : function(ds)
{
},
endUpdateBatch : function(ds)
onEndUpdateBatch : function(ds)
{
}
}

View File

@ -144,11 +144,11 @@ var panels_observer = {
onMove : function(ds,old_src,new_src,prop,target) {
//debug ("observer: move");
},
beginUpdateBatch : function(ds) {
//debug ("observer: beginUpdateBatch");
onBeginUpdateBatch : function(ds) {
//debug ("observer: onBeginUpdateBatch");
},
endUpdateBatch : function(ds) {
//debug ("observer: endUpdateBatch");
onEndUpdateBatch : function(ds) {
//debug ("observer: onEndUpdateBatch");
}
};

View File

@ -691,11 +691,11 @@ var panel_observer = {
onMove : function(ds,old_src,new_src,prop,target) {
//debug ("observer: move");
},
beginUpdateBatch : function(ds) {
//debug ("observer: beginUpdateBatch");
onBeginUpdateBatch : function(ds) {
//debug ("observer: onBeginUpdateBatch");
},
endUpdateBatch : function(ds) {
//debug ("observer: endUpdateBatch");
onEndUpdateBatch : function(ds) {
//debug ("observer: onEndUpdateBatch");
}
};