summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2019-01-12 18:35:31 +0000
committerGerrit Code Review <review@openstack.org>2019-01-12 18:35:31 +0000
commitbe5b04ca6d62e23086daaca5873e5d18bf4f43f4 (patch)
tree02ff891935b04af67542004211261c5fb5e97302
parentf02e7c5aded59b06d42a70d22db8fe1c0e8d07b0 (diff)
parentd4cea903b9066ddcec6dfa28a7ed673bd35784c0 (diff)
Merge "Error should be reported when only a space is entered"
-rw-r--r--openstack_dashboard/static/app/core/keypairs/actions/create.service.js4
-rw-r--r--openstack_dashboard/static/app/core/keypairs/actions/import.service.js1
2 files changed, 1 insertions, 4 deletions
diff --git a/openstack_dashboard/static/app/core/keypairs/actions/create.service.js b/openstack_dashboard/static/app/core/keypairs/actions/create.service.js
index d5ad7db..526e2d6 100644
--- a/openstack_dashboard/static/app/core/keypairs/actions/create.service.js
+++ b/openstack_dashboard/static/app/core/keypairs/actions/create.service.js
@@ -102,9 +102,7 @@
102 102
103 function perform() { 103 function perform() {
104 getKeypairs(); 104 getKeypairs();
105 model = { 105 model = {};
106 name: ""
107 };
108 var config = { 106 var config = {
109 "title": caption, 107 "title": caption,
110 "submitText": caption, 108 "submitText": caption,
diff --git a/openstack_dashboard/static/app/core/keypairs/actions/import.service.js b/openstack_dashboard/static/app/core/keypairs/actions/import.service.js
index e447f17..9cd2660 100644
--- a/openstack_dashboard/static/app/core/keypairs/actions/import.service.js
+++ b/openstack_dashboard/static/app/core/keypairs/actions/import.service.js
@@ -109,7 +109,6 @@
109 function perform() { 109 function perform() {
110 getKeypairs(); 110 getKeypairs();
111 model = { 111 model = {
112 name: "",
113 public_key: "" 112 public_key: ""
114 }; 113 };
115 var config = { 114 var config = {