You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by gn...@apache.org on 2017/01/11 10:57:42 UTC
ambari git commit: AMBARI-19453. Dashboard should display appropriate
message if workflow data fetching api fails (Madhan Mohan Reddy via gauravn7)
Repository: ambari
Updated Branches:
refs/heads/trunk d4c14e9a0 -> 7b218f459
AMBARI-19453. Dashboard should display appropriate message if workflow data fetching api fails (Madhan Mohan Reddy via gauravn7)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/7b218f45
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7b218f45
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7b218f45
Branch: refs/heads/trunk
Commit: 7b218f45978c215f599af9b83e519b548762fe60
Parents: d4c14e9
Author: Gaurav Nagar <gr...@gmail.com>
Authored: Wed Jan 11 16:27:14 2017 +0530
Committer: Gaurav Nagar <gr...@gmail.com>
Committed: Wed Jan 11 16:27:14 2017 +0530
----------------------------------------------------------------------
.../src/main/resources/ui/app/routes/design/dashboardtab.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/7b218f45/contrib/views/wfmanager/src/main/resources/ui/app/routes/design/dashboardtab.js
----------------------------------------------------------------------
diff --git a/contrib/views/wfmanager/src/main/resources/ui/app/routes/design/dashboardtab.js b/contrib/views/wfmanager/src/main/resources/ui/app/routes/design/dashboardtab.js
index ddb19af..78bc1c9 100644
--- a/contrib/views/wfmanager/src/main/resources/ui/app/routes/design/dashboardtab.js
+++ b/contrib/views/wfmanager/src/main/resources/ui/app/routes/design/dashboardtab.js
@@ -86,7 +86,7 @@ export default Ember.Route.extend({
].join(""),
page = (start - 1) / len + 1;
return this.fetchJobs(url).catch(function(){
- this.controllerFor('dashboard').set('model',{error : "Remote API Failed"});
+ this.controllerFor('design.dashboardtab').set('model',{error : "Remote API Failed"});
Ember.$("#loading").css("display", "none");
}.bind(this)).then(function (res) {
if(!res){