mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
Sanitize input for domain section/tree view
This commit is contained in:
parent
4191d28753
commit
0b28b02e5e
@ -1,4 +1,4 @@
|
||||
(function($, cloudStack) {
|
||||
(function($, cloudStack, _s) {
|
||||
/**
|
||||
* Make <ul> of tree items
|
||||
*/
|
||||
@ -21,7 +21,7 @@
|
||||
)
|
||||
.append(
|
||||
$('<div>').addClass('name')
|
||||
.html(this.name)
|
||||
.html(_s(this.name))
|
||||
)
|
||||
.appendTo($treeList);
|
||||
});
|
||||
@ -125,4 +125,4 @@
|
||||
|
||||
return this;
|
||||
};
|
||||
})(jQuery, cloudStack);
|
||||
})(jQuery, cloudStack, cloudStack.sanitize);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user