mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Sanitize createForm input
This commit is contained in:
parent
e73a23e8c0
commit
dd55f8ab99
@ -139,12 +139,12 @@
|
||||
|
||||
var $option = $('<option>')
|
||||
.appendTo($input)
|
||||
.val(id)
|
||||
.html(description);
|
||||
.val(_s(id))
|
||||
.html(_s(description));
|
||||
});
|
||||
|
||||
if (field.defaultValue) {
|
||||
$input.val(field.defaultValue);
|
||||
$input.val(_s(field.defaultValue));
|
||||
}
|
||||
|
||||
$input.trigger('change');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user