Sanitize input for domain section/tree view

This commit is contained in:
bfederle 2012-03-15 10:30:28 -07:00
parent 4191d28753
commit 0b28b02e5e

View File

@ -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);