make setting sort option of icon list work
This commit is contained in:
parent
31149d7ecc
commit
c4842ca863
2 changed files with 3 additions and 1 deletions
|
@ -139,6 +139,8 @@ Ox.IconList = function(options, self) {
|
||||||
that.$element.options(key, value);
|
that.$element.options(key, value);
|
||||||
} else if (key == 'selected') {
|
} else if (key == 'selected') {
|
||||||
that.$element.options(key, value);
|
that.$element.options(key, value);
|
||||||
|
} else if (key == 'sort') {
|
||||||
|
that.$element.options(key, value);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1314,7 +1314,7 @@ Ox.List = function(options, self) {
|
||||||
// may break other things
|
// may break other things
|
||||||
!self.isAsync && triggerSelectEvent(value);
|
!self.isAsync && triggerSelectEvent(value);
|
||||||
} else if (key == 'sort') {
|
} else if (key == 'sort') {
|
||||||
//Ox.print('---sort---')
|
Ox.print('---sort---')
|
||||||
updateSort();
|
updateSort();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue