empty settings allowed for strings
This commit is contained in:
parent
47dfd430d2
commit
35cb49098b
@ -23,7 +23,7 @@ jQuery(document).ready(function ($) {
|
|||||||
$('#variable-edit-name').val(variable.name);
|
$('#variable-edit-name').val(variable.name);
|
||||||
$('#variable-edit-description').html(variable.description);
|
$('#variable-edit-description').html(variable.description);
|
||||||
$('#variable-edit-description-edition').html(variable.description_edition).toggleClass('hidden', variable.description_edition == '');
|
$('#variable-edit-description-edition').html(variable.description_edition).toggleClass('hidden', variable.description_edition == '');
|
||||||
$('#variable-edit-value').val(variable.value);
|
$('#variable-edit-value').prop('required', variable.type !== 'string').val(variable.value);
|
||||||
$('#variable-edit-id').val(variable.id);
|
$('#variable-edit-id').val(variable.id);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user