Selaa lähdekoodia

AMBARI-858. Installer -> Select Services page: warning popups are no longer appearing. (yusaku)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/branches/AMBARI-666@1397996 13f79535-47bb-0310-9956-ffa450edef68
Yusaku Sako 12 vuotta sitten
vanhempi
commit
f6aa563324

+ 3 - 0
AMBARI-666-CHANGES.txt

@@ -257,6 +257,9 @@ AMBARI-666 branch (unreleased changes)
 
   BUG FIXES
 
+  AMBARI-858. Installer -> Select Services page: warning popups are no longer
+  appearing. (yusaku)
+
   AMBARI-846. Select Masters Page: make ZooKeeper addition/removal UI more
   organized. (Jaimin Jetly via yusaku)
 

+ 0 - 32
ambari-web/app/controllers/installer/step4_controller.js

@@ -58,38 +58,6 @@ App.InstallerStep4Controller = Em.ArrayController.extend({
     return db.getService();
   },
 
-  /*
-  loadStepFromContent: function () {
-    console.log("TRACE: Loading from rawContent/API step4: Choose Services");
-    this.clear();
-    var rawContent = this.rawContent;
-    rawContent.setEach('isSelected', true);
-    this.renderStep(rawContent);
-  },
-  */
-
-  /*
-  loadStepFromDb: function () {
-    console.log("TRACE: Loading form localStorage step4: Choose Services");
-    this.clear();
-    var rawContent = this.rawContent;
-    rawContent.setEach('isSelected', false);
-    var services = App.db.getSelectedServiceNames();
-    if (services !== undefined && services !== null) {
-      rawContent.forEach(function (_content) {
-        var serviceFound = services.contains(_content.serviceName);
-        if (serviceFound) {
-          _content.isSelected = true;
-        } else {
-          _content.isSelected = false;
-        }
-        console.log('TRACE: value of service is: ' + _content.serviceName);
-      });
-      this.renderStep(rawContent);
-    }
-  },
-  */
-
   renderStep: function (serviceInfo) {
     serviceInfo.forEach(function (item) {
       this.pushObject(Ember.Object.create(item));

+ 1 - 1
ambari-web/app/templates/installer/step4.hbs

@@ -51,6 +51,6 @@
 
   <div class="btn-area">
     <a class="btn pull-left" {{action back}}>&larr; Back</a>
-    <a class="btn btn-success pull-right" {{action proceed target="controller"}}>Next &rarr;</a>
+    <a class="btn btn-success pull-right" {{action submit target="controller"}}>Next &rarr;</a>
   </div>
 </div>