mirror of https://github.com/apache/cloudstack.git
Sanitize input for domain section/tree view
This commit is contained in:
parent
17bada6a62
commit
2227f425cd
|
|
@ -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…
Reference in New Issue