Repository: ambari Updated Branches: refs/heads/branch-2.5 34405206a -> 0b9ce3f06
AMBARI-20475. Issue with cut/copy functionality in workflow manager (Padma Priya via pallavkul) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/0b9ce3f0 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/0b9ce3f0 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/0b9ce3f0 Branch: refs/heads/branch-2.5 Commit: 0b9ce3f067244997bd344730a94d3801b3a31210 Parents: 3440520 Author: pallavkul <[email protected]> Authored: Thu Mar 16 17:32:22 2017 +0530 Committer: pallavkul <[email protected]> Committed: Thu Mar 16 17:35:26 2017 +0530 ---------------------------------------------------------------------- .../src/main/resources/ui/app/services/workflow-clipboard.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/0b9ce3f0/contrib/views/wfmanager/src/main/resources/ui/app/services/workflow-clipboard.js ---------------------------------------------------------------------- diff --git a/contrib/views/wfmanager/src/main/resources/ui/app/services/workflow-clipboard.js b/contrib/views/wfmanager/src/main/resources/ui/app/services/workflow-clipboard.js index 8784cda..37e121f 100644 --- a/contrib/views/wfmanager/src/main/resources/ui/app/services/workflow-clipboard.js +++ b/contrib/views/wfmanager/src/main/resources/ui/app/services/workflow-clipboard.js @@ -26,9 +26,9 @@ export default Ember.Service.extend({ actionType : node.actionType, operation : operation }; - this.set('clipboard', clipboardContent); + this.set('clipboard', JSOG.stringify(clipboardContent)); }, getContent (){ - return this.get('clipboard'); + return JSOG.parse(this.get('clipboard')); } });
