[NIFI-2348] When processor is selected, can now copy id from palette

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

Branch: refs/heads/master
Commit: f5dfa580db15f45deaefb25ddfce410f9882676b
Parents: da5e468
Author: Scott Aslan <[email protected]>
Authored: Thu Jul 28 11:50:30 2016 -0400
Committer: joewitt <[email protected]>
Committed: Fri Jul 29 12:12:00 2016 -0400

----------------------------------------------------------------------
 .../nifi-web-ui/src/main/webapp/js/nf/canvas/nf-canvas.js         | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/f5dfa580/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-canvas.js
----------------------------------------------------------------------
diff --git 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-canvas.js
 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-canvas.js
index 54d5845..d772999 100644
--- 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-canvas.js
+++ 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-canvas.js
@@ -553,9 +553,6 @@ nf.Canvas = (function () {
                     // ctrl-c
                     if (nf.Canvas.canWrite() && 
nf.CanvasUtils.isCopyable(selection)) {
                         nf.Actions.copy(selection);
-
-                        // only want to prevent default if the action was 
performed, otherwise default copy would be overridden
-                        evt.preventDefault();
                     }
                 } else if (evt.keyCode === 86) {
                     // ctrl-v

Reply via email to