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