ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yus...@apache.org
Subject svn commit: r1476473 - /incubator/ambari/trunk/ambari-web/app/views/common/configs/services_config.js
Date Sat, 27 Apr 2013 03:02:45 GMT
Author: yusaku
Date: Sat Apr 27 03:02:44 2013
New Revision: 1476473

URL: http://svn.apache.org/r1476473
Log:
AMBARI-2027. Add validation checks for Add Property on custom site configs. (yusaku)

Modified:
    incubator/ambari/trunk/ambari-web/app/views/common/configs/services_config.js

Modified: incubator/ambari/trunk/ambari-web/app/views/common/configs/services_config.js
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/views/common/configs/services_config.js?rev=1476473&r1=1476472&r2=1476473&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/views/common/configs/services_config.js (original)
+++ incubator/ambari/trunk/ambari-web/app/views/common/configs/services_config.js Sat Apr
27 03:02:44 2013
@@ -211,7 +211,6 @@ App.ServiceConfigsByCategoryView = Ember
         }
       }.observes("name")
     });
-    serviceConfigObj.observeAddPropertyValue();
 
     var category = this.get('category');
     serviceConfigObj.displayType = "advanced";
@@ -233,6 +232,7 @@ App.ServiceConfigsByCategoryView = Ember
       primary: 'Add',
       secondary: 'Cancel',
       onPrimary: function () {
+        serviceConfigObj.observeAddPropertyValue();
         /**
          * For the first entrance use this if (serviceConfigObj.name.trim() != "")
          */



Mime
View raw message