summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/ui/components/projects/projectsController.js
diff options
context:
space:
mode:
Diffstat (limited to 'testapi/opnfv_testapi/ui/components/projects/projectsController.js')
-rw-r--r--testapi/opnfv_testapi/ui/components/projects/projectsController.js4
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) {