Browse Source

AMBARI-17448. Ambari wizard cannot add Service (alexantonenko)

Alex Antonenko 9 years ago
parent
commit
ca2c63d5e1
1 changed files with 3 additions and 1 deletions
  1. 3 1
      ambari-web/app/mixins/common/configs/configs_saver.js

+ 3 - 1
ambari-web/app/mixins/common/configs/configs_saver.js

@@ -390,7 +390,9 @@ App.ConfigsSaverMixin = Em.Mixin.create({
       fileNamesToSave.forEach(function(fName) {
 
         /** @see <code>_timeStamps<code> **/
-        if (this.get('_timeStamps')[fName] === tagVersion) tagVersion++;
+        if (this.get('_timeStamps')[fName] === tagVersion) {
+          tagVersion = "version" + ((new Date).getTime() + 1);
+        }
         this.get('_timeStamps')[fName] = tagVersion;
 
         if (this.allowSaveSite(fName)) {