mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
part of the fix for #51571. r/a=mscott
This commit is contained in:
parent
5dff1d6e3b
commit
d2b9d3d09d
@ -10,6 +10,11 @@ var gNameField = null;
|
||||
var gFolderDelimiter = ".";
|
||||
var gStatusFeedback = new nsMsgStatusFeedback;
|
||||
|
||||
// used for caching the tree children (in typedown)
|
||||
var lastTreeChildrenValue = null;
|
||||
var lastTreeChildren = null;
|
||||
|
||||
|
||||
function SetUpRDF()
|
||||
{
|
||||
if (!RDF) {
|
||||
@ -111,6 +116,11 @@ var MySubscribeListener = {
|
||||
function SetUpTree(forceToServer)
|
||||
{
|
||||
//dump("SetUpTree()\n");
|
||||
|
||||
// forget the cached tree children
|
||||
lastTreeChildrenValue = null;
|
||||
lastTreeChildren = null;
|
||||
|
||||
SetUpRDF();
|
||||
|
||||
gStatusBar = document.getElementById('statusbar-icon');
|
||||
@ -356,18 +366,10 @@ function SubscribeOnClick(event)
|
||||
}
|
||||
}
|
||||
|
||||
// used for caching the tree children (in typedown)
|
||||
var lastTreeChildrenValue = null;
|
||||
var lastTreeChildren = null;
|
||||
|
||||
function RefreshList()
|
||||
{
|
||||
// force it to talk to the server
|
||||
SetUpTree(true);
|
||||
|
||||
// forget the cached tree children
|
||||
lastTreeChildrenValue = null;
|
||||
lastTreeChildren = null;
|
||||
}
|
||||
|
||||
function trackGroupInTree()
|
||||
|
Loading…
Reference in New Issue
Block a user