1
0
Fork 0
forked from 0x2620/oxjs

in icon lists, support 'info' that is not a string, but an element

This commit is contained in:
rlx 2011-09-29 06:17:50 +00:00
commit 44a8ff015c
4 changed files with 32 additions and 8 deletions

View file

@ -114,7 +114,10 @@ Ox.IconList = function(options, self) {
function updateKeys() {
that.$element.options({
keys: Ox.unique(Ox.merge(self.options.sort[0].key, self.options.keys))
keys: Ox.unique(Ox.merge(
self.options.sort[0].key.split(':').pop(),
self.options.keys
))
});
}