1
0
Fork 0
forked from 0x2620/oxjs
This commit is contained in:
rolux 2012-05-25 09:46:34 +02:00
commit 147d637b7b
32 changed files with 83 additions and 83 deletions

View file

@ -607,7 +607,7 @@ Ox.List = function(options, self) {
Ox.forEach(self.$items, function($item, i) {
if ($item.options('data')[self.options.unique] == id) {
pos = i;
Ox.Break()();
Ox.Break();
}
});
return pos;
@ -695,7 +695,7 @@ Ox.List = function(options, self) {
ids.push(self.$items[pos].options('data')[self.options.unique]);
} else {
notFound = true;
Ox.Break()();
Ox.Break();
}
});
if (notFound) {
@ -1153,7 +1153,7 @@ Ox.List = function(options, self) {
if (Ox.toLatin(v.title).toUpperCase().indexOf(str) == 0) {
select(i);
scrollToPosition(i);
Ox.Break()();
Ox.Break();
}
});
}
@ -1340,7 +1340,7 @@ Ox.List = function(options, self) {
if (oldIds.indexOf(item.id) > -1) {
newIds.push(item.id);
}
newIds.length == oldIds.length && Ox.Break()();
newIds.length == oldIds.length && Ox.Break();
});
setSelected(newIds);
});