1
0
Fork 0
forked from 0x2620/oxjs

properly escape user names and list names

This commit is contained in:
rlx 2012-02-22 10:14:25 +00:00
commit 68ca199ae3
6 changed files with 18 additions and 6 deletions

View file

@ -21,7 +21,7 @@ Ox.ArrayEditable = function(options, self) {
separator: ',',
sort: [],
submitOnBlur: true,
tooltip: '',
tooltipText: '',
type: 'input',
width: 256
})
@ -121,8 +121,8 @@ Ox.ArrayEditable = function(options, self) {
submitOnBlur: self.options.submitOnBlur,
tooltip: (
self.options.tooltipText
? Ox.formatString(self.options.tooltipText, item) + '<br>'
: ''
? self.options.tooltipText(item) + '<br>'
: ''
) + 'Click to select' + (
item.editable
? ', doubleclick to edit'