mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-12 14:18:33 +00:00
[Bugfix] 修复创建azure类型的录像存储时前端的bug (#2608)
This commit is contained in:
parent
35a0ca1875
commit
cf2455c084
@ -252,7 +252,7 @@ $(document).ready(function() {
|
||||
var name = $(id_field).attr('name');
|
||||
data[name] = $(id_field).val();
|
||||
});
|
||||
if (data['ENDPOINT'] !== '' && data['ENDPOINT'].indexOf('http') === -1) {
|
||||
if (data['ENDPOINT'] && data['ENDPOINT'].indexOf('http') === -1) {
|
||||
var msg = "{% trans 'Endpoint need contain protocol, ex: http' %}";
|
||||
$("#endpoint_error").html(msg);
|
||||
submitBtn.removeClass('disabled');
|
||||
|
Loading…
Reference in New Issue
Block a user