You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2017/03/16 20:01:59 UTC
[23/32] ambari git commit: AMBARI-20475. Issue with cut/copy
functionality in workflow manager (Padma Priya via pallavkul)
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/a9db60be
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a9db60be
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a9db60be
Branch: refs/heads/branch-feature-AMBARI-12556
Commit: a9db60beb5a90201749a134e2d61e4e16e10a5fb
Parents: 1c616b2
Author: pallavkul <pa...@gmail.com>
Authored: Thu Mar 16 17:32:22 2017 +0530
Committer: pallavkul <pa...@gmail.com>
Committed: Thu Mar 16 17:32:22 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/a9db60be/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'));
}
});