Skip to content

Commit 0b28b02

Browse files
committed
Sanitize input for domain section/tree view
1 parent 4191d28 commit 0b28b02

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ui/scripts/ui/widgets/treeView.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(function($, cloudStack) {
1+
(function($, cloudStack, _s) {
22
/**
33
* Make <ul> of tree items
44
*/
@@ -21,7 +21,7 @@
2121
)
2222
.append(
2323
$('<div>').addClass('name')
24-
.html(this.name)
24+
.html(_s(this.name))
2525
)
2626
.appendTo($treeList);
2727
});
@@ -125,4 +125,4 @@
125125

126126
return this;
127127
};
128-
})(jQuery, cloudStack);
128+
})(jQuery, cloudStack, cloudStack.sanitize);

0 commit comments

Comments
 (0)