mypackage_wrt/RssReader.js
changeset 44 48bcd0bbc1ab
parent 42 20be4dd42b12
equal deleted inserted replaced
43:a6c61f6ea350 44:48bcd0bbc1ab
    56 			if (this.feedItemControls.length > 0 ) {
    56 			if (this.feedItemControls.length > 0 ) {
    57 				this.feedItemControls[0].setFocused(true);
    57 				this.feedItemControls[0].setFocused(true);
    58 			}
    58 			}
    59 			this.feedPresenter.addFooterItems();
    59 			this.feedPresenter.addFooterItems();
    60 		}
    60 		}
    61 		uiManager.hideNotification();
    61 		if (isHideNotifications) {uiManager.hideNotification();}
    62 		//code to update feeds
    62 		//code to update feeds
    63 		if (this.UpdateButton) {
    63 		if (this.UpdateButton) {
    64 			this.UpdateButton.setText( this.ButtonText + " (" + this.feedItemControls.length + ")");
    64 			this.UpdateButton.setText( this.ButtonText + " (" + this.feedItemControls.length + ")");
    65 		}	
    65 		}	
    66 	}
    66 	}
   138 				self.feedUpdateBroker.cancel(); self.setupSoftKeys();
   138 				self.feedUpdateBroker.cancel(); self.setupSoftKeys();
   139 				uiManager.hideNotification();
   139 				uiManager.hideNotification();
   140 				});
   140 				});
   141 	    }
   141 	    }
   142 		uiManager.showNotification(-1, "wait", "Loading feed...", -1);
   142 		uiManager.showNotification(-1, "wait", "Loading feed...", -1);
       
   143 		isHideNotifications=true;
       
   144 		
   143 	}
   145 	}
   144 }
   146 }
   145 
   147 
   146 RssReader.prototype.updatebugs = function(forceFeedUpdate){
   148 RssReader.prototype.updatebugs = function(forceFeedUpdate){
   147 	this.update(forceFeedUpdate);
   149 	this.update(forceFeedUpdate);