Author: jaimin
Date: Wed Jun 19 18:03:45 2013
New Revision: 1494714
URL: http://svn.apache.org/r1494714
Log:
AMBARI-2428. Global properties retrieved from server and absent on ui metadata
doesn't allow saving configurations.
Modified:
incubator/ambari/trunk/ambari-web/app/utils/config.js
Modified: incubator/ambari/trunk/ambari-web/app/utils/config.js
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/utils/config.js?rev=1494714&r1=1494713&r2=1494714&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/utils/config.js (original)
+++ incubator/ambari/trunk/ambari-web/app/utils/config.js Wed Jun 19 18:03:45
2013
@@ -185,6 +185,8 @@ App.config = Em.Object.create({
if (_tag.siteName === 'global') {
if (configsPropertyDef) {
this.handleSpecialProperties(serviceConfigObj);
+ } else {
+ serviceConfigObj.isVisible = false; // if the global property is
not defined on ui metadata config_properties.js then it shouldn't be a part of
errorCount
}
serviceConfigObj.id = 'puppet var';
serviceConfigObj.displayName = configsPropertyDef ?
configsPropertyDef.displayName : null;