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;
|
var previousSelected = self.selected;
|
||||||
setSelected(self.options.selected);
|
setSelected(self.options.selected);
|
||||||
// fixme: the following was added in order
|
// 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
|
// this may break other things
|
||||||
if (!self.isAsync && !Ox.isEqual(self.selected, previousSelected)) {
|
if (!self.isAsync && !Ox.isEqual(self.selected, previousSelected)) {
|
||||||
triggerSelectEvent(self.options.selected);
|
triggerSelectEvent(self.options.selected);
|
||||||
|
@ -415,8 +415,8 @@ Ox.List = function(options, self) {
|
||||||
$parent = $target.parent();
|
$parent = $target.parent();
|
||||||
if ((
|
if ((
|
||||||
$target.is('.OxTarget') // icon lists
|
$target.is('.OxTarget') // icon lists
|
||||||
|| $parent.is('.OxTarget') // text lists
|
|| $parent.is('.OxTarget') // table lists
|
||||||
|| $parent.parent().is('.OxTarget') // text lists with div inside cell
|
|| $parent.parent().is('.OxTarget') // table lists with div inside cell
|
||||||
) && !$target.is('.OxSpecialTarget')) {
|
) && !$target.is('.OxSpecialTarget')) {
|
||||||
self.drag = {
|
self.drag = {
|
||||||
ids: self.options.selected
|
ids: self.options.selected
|
||||||
|
@ -914,7 +914,7 @@ Ox.List = function(options, self) {
|
||||||
// click on unselected item
|
// click on unselected item
|
||||||
select(pos);
|
select(pos);
|
||||||
} else if (self.options.type == 'text') {
|
} else if (self.options.type == 'text') {
|
||||||
// click on a selected text list cell
|
// click on a selected table list cell
|
||||||
self.mousedownOnSelectedCell = true;
|
self.mousedownOnSelectedCell = true;
|
||||||
}
|
}
|
||||||
} else if (!$(data.target).is('.OxToggle') && self.options.min == 0) {
|
} else if (!$(data.target).is('.OxToggle') && self.options.min == 0) {
|
||||||
|
|
Loading…
Reference in a new issue