Repository: nifi
Updated Branches:
  refs/heads/master bef3fc8b4 -> 43c7ecd22


NIFI-1286: - Removing provenance option from the Label context menu

Signed-off-by: joewitt <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/0436383f
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/0436383f
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/0436383f

Branch: refs/heads/master
Commit: 0436383f497a444d545fb4ba8291fded2b3ee992
Parents: bef3fc8
Author: Matt Gilman <[email protected]>
Authored: Fri Dec 18 16:47:27 2015 -0500
Committer: joewitt <[email protected]>
Committed: Fri Dec 18 17:02:33 2015 -0500

----------------------------------------------------------------------
 .../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/0436383f/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 d5f49d6..a07627c 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
@@ -256,7 +256,8 @@ nf.ContextMenu = (function () {
             return false;
         }
 
-        return !nf.CanvasUtils.isConnection(selection) && 
!nf.CanvasUtils.isProcessGroup(selection) && 
!nf.CanvasUtils.isRemoteProcessGroup(selection) && 
nf.Common.canAccessProvenance();
+        return !nf.CanvasUtils.isLabel(selection) && 
!nf.CanvasUtils.isConnection(selection) && 
!nf.CanvasUtils.isProcessGroup(selection)
+            && !nf.CanvasUtils.isRemoteProcessGroup(selection) && 
nf.Common.canAccessProvenance();
     };
 
     /**

Reply via email to