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/04/03 23:32:15 UTC
git commit: AMBARI-5340. Tez DAG Operator hover text not wrapping
wide content (alexantonenko)
Repository: ambari
Updated Branches:
refs/heads/trunk 979cd9eac -> c98e67a7d
AMBARI-5340. Tez DAG Operator hover text not wrapping wide content (alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/c98e67a7
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c98e67a7
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c98e67a7
Branch: refs/heads/trunk
Commit: c98e67a7d258ba16414c4cf2626c4780300648c7
Parents: 979cd9e
Author: Alex Antonenko <hi...@gmail.com>
Authored: Thu Apr 3 18:49:00 2014 +0300
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Fri Apr 4 00:31:36 2014 +0300
----------------------------------------------------------------------
.../app/views/main/jobs/hive_job_details_tez_dag_view.js | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/c98e67a7/ambari-web/app/views/main/jobs/hive_job_details_tez_dag_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/jobs/hive_job_details_tez_dag_view.js b/ambari-web/app/views/main/jobs/hive_job_details_tez_dag_view.js
index ce2dff3..ad1b5af 100644
--- a/ambari-web/app/views/main/jobs/hive_job_details_tez_dag_view.js
+++ b/ambari-web/app/views/main/jobs/hive_job_details_tez_dag_view.js
@@ -295,7 +295,7 @@ App.MainHiveJobDetailsTezDagView = Em.View.extend({
createOperationPlanObj: function (vertexName, op) {
var operatorPlanObj = [];
var text = this.get('content.tezDag.vertices').findProperty('name', vertexName).get('operationPlan');
- text = text.replace(/:"/g,'"');
+ text = text.replace(/:"/g,'"').replace(/([:,])(?=\S)/g,'$1 ');
var jsonText = $.parseJSON(text);
var jsonText = op.findIn(jsonText);
for (var key in jsonText) {
@@ -314,7 +314,7 @@ App.MainHiveJobDetailsTezDagView = Em.View.extend({
/**
* Determines layout and creates Tez graph. In the process it populates the
* visual model into 'dagVisualModel' field.
- *
+ *
* Terminology: 'vertices' and 'edges' are Tez terms. 'nodes' and 'links' are
* visual (d3) terms.
*/
@@ -729,8 +729,9 @@ App.MainHiveJobDetailsTezDagView = Em.View.extend({
});
};
});
- $('.svg-tooltip').tooltip({
- placement : 'left'
+ App.tooltip($('.svg-tooltip'), {
+ placement : 'left',
+ template: '<div class="tooltip jobs-tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'
});
if (App.supports.debugJobsDag) {