diff --git a/source/Ox.UI/js/List/IconList.js b/source/Ox.UI/js/List/IconList.js index 5ac09b07..68a32080 100644 --- a/source/Ox.UI/js/List/IconList.js +++ b/source/Ox.UI/js/List/IconList.js @@ -105,6 +105,9 @@ Ox.IconList = function(options, self) { }) .addClass('OxIconList Ox' + Ox.toTitleCase(self.options.orientation)) .bindEvent(function(data, event) { + if (event == 'select') { + self.options.selected = data.ids; + } that.triggerEvent(event, data); }) ); diff --git a/source/Ox.UI/js/List/InfoList.js b/source/Ox.UI/js/List/InfoList.js index 73e81b62..a309428d 100644 --- a/source/Ox.UI/js/List/InfoList.js +++ b/source/Ox.UI/js/List/InfoList.js @@ -80,6 +80,9 @@ Ox.InfoList = function(options, self) { }) .addClass('OxInfoList') .bindEvent(function(data, event) { + if (event == 'select') { + self.options.selected = data.ids; + } that.triggerEvent(event, data); }) );