update inline comments
This commit is contained in:
parent
bdebb03a45
commit
e38a09cd42
1 changed files with 4 additions and 4 deletions
|
@ -110,7 +110,7 @@ Ox.List = function(options, self) {
|
|||
var previousSelected = self.selected;
|
||||
setSelected(self.options.selected);
|
||||
// fixme: the following was added in order
|
||||
// to make text list find-as-you-type work,
|
||||
// to make table list find-as-you-type work,
|
||||
// this may break other things
|
||||
if (!self.isAsync && !Ox.isEqual(self.selected, previousSelected)) {
|
||||
triggerSelectEvent(self.options.selected);
|
||||
|
@ -415,8 +415,8 @@ Ox.List = function(options, self) {
|
|||
$parent = $target.parent();
|
||||
if ((
|
||||
$target.is('.OxTarget') // icon lists
|
||||
|| $parent.is('.OxTarget') // text lists
|
||||
|| $parent.parent().is('.OxTarget') // text lists with div inside cell
|
||||
|| $parent.is('.OxTarget') // table lists
|
||||
|| $parent.parent().is('.OxTarget') // table lists with div inside cell
|
||||
) && !$target.is('.OxSpecialTarget')) {
|
||||
self.drag = {
|
||||
ids: self.options.selected
|
||||
|
@ -914,7 +914,7 @@ Ox.List = function(options, self) {
|
|||
// click on unselected item
|
||||
select(pos);
|
||||
} else if (self.options.type == 'text') {
|
||||
// click on a selected text list cell
|
||||
// click on a selected table list cell
|
||||
self.mousedownOnSelectedCell = true;
|
||||
}
|
||||
} else if (!$(data.target).is('.OxToggle') && self.options.min == 0) {
|
||||
|
|
Loading…
Reference in a new issue