diff --git a/source/Ox.UI/js/List/List.js b/source/Ox.UI/js/List/List.js index 1653c2ac..6523c8c2 100644 --- a/source/Ox.UI/js/List/List.js +++ b/source/Ox.UI/js/List/List.js @@ -108,12 +108,7 @@ Ox.List = function(options, self) { that.reloadList(); }, selected: function() { - var previousSelected = Ox.clone(self.selected); - setSelected(self.options.selected, function() { - if (!Ox.isEqual(self.selected, previousSelected)) { - triggerSelectEvent(self.options.selected); - } - }); + setSelected(self.options.selected); }, sort: function() { updateSort(); @@ -1205,6 +1200,7 @@ Ox.List = function(options, self) { } function setSelected(ids, callback) { + // fixme: callback is never used // note: can't use selectNone here, // since it'd trigger a select event Ox.Log('List', 'SET SELECTED', ids)