Repository: ambari Updated Branches: refs/heads/branch-2.5 7dae895f2 -> 613876528
AMBARI-19729: Workflow Manager: Path does not get set to selected directory when creating FS action node. (sangeetar) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/61387652 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/61387652 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/61387652 Branch: refs/heads/branch-2.5 Commit: 613876528bdc315bfc563ea7344910d54302bd44 Parents: 7dae895 Author: Sangeeta Ravindran <[email protected]> Authored: Thu Jan 26 13:20:11 2017 -0800 Committer: Sangeeta Ravindran <[email protected]> Committed: Thu Jan 26 13:20:11 2017 -0800 ---------------------------------------------------------------------- .../src/main/resources/ui/app/components/prepare-config-fs.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/61387652/contrib/views/wfmanager/src/main/resources/ui/app/components/prepare-config-fs.js ---------------------------------------------------------------------- diff --git a/contrib/views/wfmanager/src/main/resources/ui/app/components/prepare-config-fs.js b/contrib/views/wfmanager/src/main/resources/ui/app/components/prepare-config-fs.js index ba9b91e..15592a4 100644 --- a/contrib/views/wfmanager/src/main/resources/ui/app/components/prepare-config-fs.js +++ b/contrib/views/wfmanager/src/main/resources/ui/app/components/prepare-config-fs.js @@ -32,9 +32,7 @@ export default Ember.Component.extend({ var filePathModel = this.get('filePathModel'); if(filePathModel && filePathModel.hasOwnProperty("index") && filePathModel.hasOwnProperty("property")){ var fileOperation = this.get('fsOps').objectAt(filePathModel.index); - var settings = fileOperation.settings; - Ember.set(settings, filePathModel.property, fileName); - Ember.set(fileOperation, "settings", settings); + Ember.set(fileOperation, filePathModel.property, fileName); }else{ this.set(this.get('filePathModel'), fileName); }
