forked from 0x2620/oxjs
properly escape user names and list names
This commit is contained in:
parent
e282a3a9e9
commit
68ca199ae3
6 changed files with 18 additions and 6 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue