incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From onechipore...@apache.org
Subject git commit: AMBARI-3127. Incorrect behavior of adding non-admin user. (onechiporenko)
Date Fri, 06 Sep 2013 12:37:26 GMT
Updated Branches:
  refs/heads/trunk 38bcb75a6 -> bdd36f5c6


AMBARI-3127. Incorrect behavior of adding non-admin user. (onechiporenko)


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

Branch: refs/heads/trunk
Commit: bdd36f5c6e80e749e90efa880e1c19755ccce1e1
Parents: 38bcb75
Author: Oleg Nechiporenko <cv_github@yahoo.com>
Authored: Fri Sep 6 15:30:17 2013 +0300
Committer: Oleg Nechiporenko <cv_github@yahoo.com>
Committed: Fri Sep 6 15:37:20 2013 +0300

----------------------------------------------------------------------
 ambari-web/app/models/user.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/bdd36f5c/ambari-web/app/models/user.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/user.js b/ambari-web/app/models/user.js
index 63899ea..dc4509f 100644
--- a/ambari-web/app/models/user.js
+++ b/ambari-web/app/models/user.js
@@ -162,7 +162,7 @@ App.CreateUserForm = App.Form.extend({
     });
 
     if (this.get('className')) {
-      App.store.load(this.get('className'), formValues.user_name, formValues);
+      App.store.load(this.get('className'), (new Date()).getTime(), formValues);
     }
     else {
       console.log("Please define class name for your form " + this.constructor);


Mime
View raw message