You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jo...@apache.org on 2017/05/03 16:47:18 UTC

[35/53] [abbrv] ambari git commit: AMBARI-20912. Unable to view visual explain details in Firefox browser (pallavkul)

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-12556
Commit: 13a981c1a32e788c41657c9d2e0089cc0b86986c
Parents: 26d28ef
Author: pallavkul <pa...@gmail.com>
Authored: Tue May 2 17:05:50 2017 +0530
Committer: pallavkul <pa...@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);