1 parent 4191d28 commit 0b28b02Copy full SHA for 0b28b02
1 file changed
ui/scripts/ui/widgets/treeView.js
@@ -1,4 +1,4 @@
1
-(function($, cloudStack) {
+(function($, cloudStack, _s) {
2
/**
3
* Make <ul> of tree items
4
*/
@@ -21,7 +21,7 @@
21
)
22
.append(
23
$('<div>').addClass('name')
24
- .html(this.name)
+ .html(_s(this.name))
25
26
.appendTo($treeList);
27
});
@@ -125,4 +125,4 @@
125
126
return this;
127
};
128
-})(jQuery, cloudStack);
+})(jQuery, cloudStack, cloudStack.sanitize);
0 commit comments