Revize cf1dec7f
Přidáno uživatelem Jan Pašek před téměř 4 roky(ů)
static/js/create_certificate.js | ||
---|---|---|
107 | 107 |
// populate optional key field in the request body |
108 | 108 |
delete this.certificateData.key; |
109 | 109 |
if (this.customKey && this.key.password != null && this.key.password !== "") { |
110 |
if (!this.certificateData.hasOwnProperty("key")) this.certificateData.key = {}; |
|
110 | 111 |
this.certificateData.key.password = this.key.password; |
111 | 112 |
} |
112 | 113 |
if (this.customKey && this.key.key_pem != null) { |
114 |
if (!this.certificateData.hasOwnProperty("key")) this.certificateData.key = {}; |
|
113 | 115 |
this.certificateData.key.key_pem = this.key.key_pem; |
114 | 116 |
} |
115 | 117 |
|
... | ... | |
143 | 145 |
createCertificateApp.showError(response.data["data"]); |
144 | 146 |
} |
145 | 147 |
} catch (error) { |
146 |
createCertificateApp.showError(response.data["data"]); |
|
147 |
console.log(error);
|
|
148 |
createCertificateApp.showError(error.response.data["data"]);
|
|
149 |
console.error(error);
|
|
148 | 150 |
} |
149 | 151 |
} |
150 | 152 |
}, |
Také k dispozici: Unified diff
Re #8706 - Extensions specification improvement