Ox.getPositionById() -> Ox.getIndexById()

This commit is contained in:
rolux 2012-01-04 13:41:05 +05:30
commit 8097cc7812
19 changed files with 23 additions and 30 deletions

View file

@ -82,7 +82,7 @@ Ox.ArrayEditable = function(options, self) {
}
function getSelectedPosition() {
return Ox.getPositionById(self.options.items, self.options.selected);
return Ox.getIndexById(self.options.items, self.options.selected);
}
function renderItems() {