ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rle...@apache.org
Subject [4/8] ambari git commit: AMBARI-20912. Unable to view visual explain details in Firefox browser (pallavkul)
Date Wed, 03 May 2017 20:11:19 GMT
AMBARI-20912. Unable to view visual explain details in Firefox browser (pallavkul)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/13a981c1
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/13a981c1
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/13a981c1

Branch: refs/heads/branch-feature-AMBARI-20859
Commit: 13a981c1a32e788c41657c9d2e0089cc0b86986c
Parents: 26d28ef
Author: pallavkul <pallav.kul@gmail.com>
Authored: Tue May 2 17:05:50 2017 +0530
Committer: pallavkul <pallav.kul@gmail.com>
Committed: Tue May 2 17:05:50 2017 +0530

----------------------------------------------------------------------
 .../src/main/resources/ui/app/utils/hive-explainer/renderer.js   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/13a981c1/contrib/views/hive20/src/main/resources/ui/app/utils/hive-explainer/renderer.js
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/utils/hive-explainer/renderer.js
b/contrib/views/hive20/src/main/resources/ui/app/utils/hive-explainer/renderer.js
index 3a23226..c880614 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/utils/hive-explainer/renderer.js
+++ b/contrib/views/hive20/src/main/resources/ui/app/utils/hive-explainer/renderer.js
@@ -75,11 +75,11 @@ export default function doRender(data, selector, onRequestDetail, draggable)
{
 
   const drag = d3.behavior.drag()
     .on("dragstart", (event) => {
-      let evt = window.event || event;
-      currentTransform = d3.transform(evt.currentTarget.firstElementChild.getAttribute('transform'));
       draggable.set('dragstart', true);
       draggable.set('zoom',false);
 
+      let evt = window.event || event;
+      currentTransform = d3.transform(evt.currentTarget.firstElementChild.getAttribute('transform'));
     })
     .on("dragend", () => {
       draggable.set('dragend', true);


Mime
View raw message