You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2014/03/06 20:44:18 UTC
git commit: AMBARI-4970. Jobs popup message clicking continues to
stay on the same page(alexantonenko)
Repository: ambari
Updated Branches:
refs/heads/trunk 40199b3e7 -> 2c61e863d
AMBARI-4970. Jobs popup message clicking continues to stay on the same page(alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/2c61e863
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2c61e863
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2c61e863
Branch: refs/heads/trunk
Commit: 2c61e863d9c67f226a12a0e6a4e8ecd2f706acc4
Parents: 40199b3
Author: Alex Antonenko <hi...@gmail.com>
Authored: Thu Mar 6 21:43:58 2014 +0200
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Thu Mar 6 21:43:58 2014 +0200
----------------------------------------------------------------------
ambari-web/app/utils/jobs.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/2c61e863/ambari-web/app/utils/jobs.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/jobs.js b/ambari-web/app/utils/jobs.js
index eb89a41..3eed3f6 100644
--- a/ambari-web/app/utils/jobs.js
+++ b/ambari-web/app/utils/jobs.js
@@ -62,7 +62,7 @@ module.exports = {
App.TezDag.find(tezDagName).set('instanceId', dagId);
self.refreshTezDagDetails(tezDagName, successCallback);
}else{
- App.showAlertPopup(Em.I18n.t('jobs.hive.tez.dag.error.noDagId.title'), Em.I18n.t('jobs.hive.tez.dag.error.noDagId.message').format(hiveJobId));
+ App.showAlertPopup(Em.I18n.t('jobs.hive.tez.dag.error.noDagId.title'), Em.I18n.t('jobs.hive.tez.dag.error.noDagId.message').format(hiveJobId), App.router.transitionTo('main.jobs.index'));
}
},
dagNameToIdError : function(jqXHR, url, method, showStatus) {
@@ -81,7 +81,7 @@ module.exports = {
error : 'dagNameToIdError'
});
} else {
- App.showAlertPopup(Em.I18n.t('jobs.hive.tez.dag.error.noDag.title'), Em.I18n.t('jobs.hive.tez.dag.error.noDag.message').format(hiveJobId));
+ App.showAlertPopup(Em.I18n.t('jobs.hive.tez.dag.error.noDag.title'), Em.I18n.t('jobs.hive.tez.dag.error.noDag.message').format(hiveJobId), App.router.transitionTo('main.jobs.index'));
}
}
});
@@ -134,7 +134,7 @@ module.exports = {
error : 'loadTezDagError'
});
}else{
- App.showAlertPopup(Em.I18n.t('jobs.hive.tez.dag.error.noDagForId.title'), Em.I18n.t('jobs.hive.tez.dag.error.noDagForId.message').format(tezDagId));
+ App.showAlertPopup(Em.I18n.t('jobs.hive.tez.dag.error.noDagForId.title'), Em.I18n.t('jobs.hive.tez.dag.error.noDagForId.message').format(tezDagId), App.router.transitionTo('main.jobs.index'));
}
},