fix for #90754 (return progress meter to inactive state) and #106763 (no items in subscribe tree until you do a search).

r/sr=bienvenu
This commit is contained in:
sspitzer%netscape.com 2001-10-27 18:27:56 +00:00
Родитель 38afee1116
Коммит b3f8e7606f
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -93,7 +93,7 @@ function SetUpServerMenu()
var MySubscribeListener = {
OnDonePopulating: function() {
gStatusFeedback.showProgress(100);
gStatusFeedback.showProgress(0);
gStatusFeedback.showStatusString(gSubscribeBundle.getString("doneString"));
gStatusBar.setAttribute("mode","normal");
@ -102,8 +102,7 @@ var MySubscribeListener = {
// a part of the tree
var refValue = gSubscribeTree.getAttribute('ref');
//dump("ref = " + refValue + refValue.length + "\n");
if (refValue == "null") {
if (!refValue) {
//dump("root subscribe tree at: "+ gServerURI +"\n");
gSubscribeTree.database.AddDataSource(subscribeDS);
gSubscribeTree.setAttribute('ref',gServerURI);