You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by sc...@apache.org on 2017/08/25 21:00:59 UTC
nifi git commit: NIFI-4324: - Ensuring that sub context menus are
removed when hiding to ensure they are correctly (re)created during
mouseenter events.
Repository: nifi
Updated Branches:
refs/heads/master e3da44fb6 -> a4e729c7a
NIFI-4324:
- Ensuring that sub context menus are removed when hiding to ensure they are correctly (re)created during mouseenter events.
Signed-off-by: Scott Aslan <sc...@gmail.com>
This closes #2109
Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/a4e729c7
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/a4e729c7
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/a4e729c7
Branch: refs/heads/master
Commit: a4e729c7a77e73fad6d827df6411f040461d060a
Parents: e3da44f
Author: Matt Gilman <ma...@gmail.com>
Authored: Fri Aug 25 16:08:34 2017 -0400
Committer: Scott Aslan <sc...@gmail.com>
Committed: Fri Aug 25 16:20:32 2017 -0400
----------------------------------------------------------------------
.../nifi-web-ui/src/main/webapp/js/nf/canvas/nf-context-menu.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/nifi/blob/a4e729c7/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-context-menu.js
----------------------------------------------------------------------
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-context-menu.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-context-menu.js
index 711837e..65346b2 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-context-menu.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-context-menu.js
@@ -778,7 +778,8 @@
* Hides the context menu.
*/
hide: function () {
- $('.context-menu').hide();
+ $('#context-menu').hide();
+ $('div.context-menu.sub-menu').remove();
},
/**