diff options
author | Serena Feng <feng.xiaowei@zte.com.cn> | 2018-01-18 07:00:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-01-18 07:00:33 +0000 |
commit | 98fde9b5bd0eaf5bf5acb76dc530925a3cc19881 (patch) | |
tree | a0ad3b0ebea119f7732426951a737a80d8c33233 /testapi/opnfv_testapi/ui/components/projects/projectsController.js | |
parent | f82dd79721fec6d4d6e5ac8b7b27cfec689b92ea (diff) | |
parent | 86db2b6832d51f8cd4d428bc431aca9daa99c4e0 (diff) |
Merge "Design the scenario create method"
Diffstat (limited to 'testapi/opnfv_testapi/ui/components/projects/projectsController.js')
-rw-r--r-- | testapi/opnfv_testapi/ui/components/projects/projectsController.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testapi/opnfv_testapi/ui/components/projects/projectsController.js b/testapi/opnfv_testapi/ui/components/projects/projectsController.js index bb394c0..940c1e2 100644 --- a/testapi/opnfv_testapi/ui/components/projects/projectsController.js +++ b/testapi/opnfv_testapi/ui/components/projects/projectsController.js @@ -56,7 +56,7 @@ */ function create(project) { ctrl.showError = false; - ctrl.showCreateSuccess = false; + ctrl.showSuccess = false; var projects_url = ctrl.url; var body = { name: project.name, @@ -64,7 +64,7 @@ }; ctrl.projectsRequest = $http.post(projects_url, body).success(function (data){ - ctrl.showCreateSuccess = true ; + ctrl.showSuccess = true ; ctrl.success = "Project is successfully created." ctrl.listProjects(); }).catch(function (data) { |