From a7cdb3af3d3f96a97f99585c844b34679f3c04a9 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Sun, 14 Jul 2013 13:39:39 +0000 Subject: [PATCH] list item: handle position update --- source/Ox.UI/js/List/ListItem.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/Ox.UI/js/List/ListItem.js b/source/Ox.UI/js/List/ListItem.js index 6506b927..7695a67e 100644 --- a/source/Ox.UI/js/List/ListItem.js +++ b/source/Ox.UI/js/List/ListItem.js @@ -29,6 +29,9 @@ Ox.ListItem = function(options, self) { .update({ data: function() { constructItem(true); + }, + position: function() { + that.$element.data({position: self.options.position}); } });