AMBARI-7287. Slider View: Unable to see added config in create slider app 
wizard (alexantonenko)


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

Branch: refs/heads/branch-alerts-dev
Commit: 85a8977582171013394604a0308575267c96cbb1
Parents: fc569f1
Author: Alex Antonenko <hiv...@gmail.com>
Authored: Fri Sep 12 21:01:24 2014 +0300
Committer: Alex Antonenko <hiv...@gmail.com>
Committed: Sat Sep 13 01:30:49 2014 +0300

----------------------------------------------------------------------
 .../slider/src/main/resources/ui/app/components/configSection.js   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/85a89775/contrib/views/slider/src/main/resources/ui/app/components/configSection.js
----------------------------------------------------------------------
diff --git 
a/contrib/views/slider/src/main/resources/ui/app/components/configSection.js 
b/contrib/views/slider/src/main/resources/ui/app/components/configSection.js
index bcdff12..a1608d2 100644
--- a/contrib/views/slider/src/main/resources/ui/app/components/configSection.js
+++ b/contrib/views/slider/src/main/resources/ui/app/components/configSection.js
@@ -146,7 +146,7 @@ App.ConfigSectionComponent = Em.Component.extend({
         });
         return;
       }
-      this.get('config').pushObject({name: name, value: value, label: name});
+      this.get('config').pushObject(App.ConfigProperty.create({name: name, 
value: value, label: name}));
       this.cleanNewConfig();
       this.toggleProperty('buttonVisible');
     },

Reply via email to