ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [23/32] ambari git commit: AMBARI-20475. Issue with cut/copy functionality in workflow manager (Padma Priya via pallavkul)
Date Thu, 16 Mar 2017 20:01:59 GMT
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 <pallav.kul@gmail.com>
Authored: Thu Mar 16 17:32:22 2017 +0530
Committer: pallavkul <pallav.kul@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'));
   }
 });


Mime
View raw message