You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2014/02/07 23:29:56 UTC
git commit: AMBARI-4560. BG operation pop-up: JS error encountered on
clicking on host in progress state. (jaimin)
Updated Branches:
refs/heads/trunk e3b1b09de -> dbb625eb3
AMBARI-4560. BG operation pop-up: JS error encountered on clicking on host in progress state. (jaimin)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/dbb625eb
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/dbb625eb
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/dbb625eb
Branch: refs/heads/trunk
Commit: dbb625eb344bf5dc8f18759bb1ede2b99a9a4260
Parents: e3b1b09
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Fri Feb 7 14:29:12 2014 -0800
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Fri Feb 7 14:29:12 2014 -0800
----------------------------------------------------------------------
ambari-web/app/utils/host_progress_popup.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/dbb625eb/ambari-web/app/utils/host_progress_popup.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/host_progress_popup.js b/ambari-web/app/utils/host_progress_popup.js
index d91e402..a41c07b 100644
--- a/ambari-web/app/utils/host_progress_popup.js
+++ b/ambari-web/app/utils/host_progress_popup.js
@@ -842,7 +842,7 @@ App.HostPopup = Em.Object.create({
* Return task detail info of opened task
*/
openedTask: function () {
- if (!this.get('openedTaskId')) {
+ if (!(this.get('openedTaskId') && this.get('tasks'))) {
return Ember.Object.create();
}
return this.get('tasks').findProperty('id', this.get('openedTaskId'));