diff --git a/source/Ox.UI/js/List/List.js b/source/Ox.UI/js/List/List.js index 6490d4d2..55a92e89 100644 --- a/source/Ox.UI/js/List/List.js +++ b/source/Ox.UI/js/List/List.js @@ -118,7 +118,8 @@ Ox.List = function(options, self) { updateSort(); } }) - .scroll(scroll); + .scroll(scroll), + touchSelection = []; self.options.sort = self.options.sort.map(function(sort) { return Ox.isString(sort) ? { @@ -141,6 +142,15 @@ Ox.List = function(options, self) { mousedown: mousedown, singleclick: singleclick, doubleclick: doubleclick + }).on({ + touchend: function(e) { + if(touchSelection.length && that.options('selected')[0] == touchSelection[0]) { + doubleclick(e); + } else { + touchSelection = Ox.clone(that.options('selected')); + } + } + }); if (self.options.draggable) { that.$content.bindEvent({