Ox.encodeHTMLEntities list title

This commit is contained in:
j 2016-01-11 23:29:42 +05:30
parent 27497f9711
commit 206e39c62d

View file

@ -799,7 +799,7 @@ oml.getLists = function(callback) {
return Ox.extend(list, { return Ox.extend(list, {
editable: list.user == '' && list.type == 'static', editable: list.user == '' && list.type == 'static',
own: list.user == '', own: list.user == '',
title: (list.user ? list.user + ': ' : '') + list.name title: Ox.encodeHTMLEntities((list.user ? list.user + ': ' : '') + list.name)
}); });
}); });
callback(ui._lists); callback(ui._lists);