Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 5b347cc8c -> da00bbfbf


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/da00bbfb
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/da00bbfb
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/da00bbfb

Branch: refs/heads/branch-2.5
Commit: da00bbfbf87bb03cae3af76e8ffb8d15be9e226f
Parents: 5b347cc
Author: pallavkul <[email protected]>
Authored: Tue May 2 17:05:50 2017 +0530
Committer: pallavkul <[email protected]>
Committed: Tue May 2 17:06:56 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/da00bbfb/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);

Reply via email to