diff --git a/source/Ox.UI/js/List/Ox.TextList.js b/source/Ox.UI/js/List/Ox.TextList.js index 8d457212..87b9b082 100644 --- a/source/Ox.UI/js/List/Ox.TextList.js +++ b/source/Ox.UI/js/List/Ox.TextList.js @@ -821,11 +821,6 @@ Ox.TextList = function(options, self) { } }; - that.closePreview = function() { - that.$body.closePreview(); - return that; - }; - that.addItem = function(item) { /* self.options.items.push(item); @@ -834,6 +829,11 @@ Ox.TextList = function(options, self) { */ } + that.closePreview = function() { + that.$body.closePreview(); + return that; + }; + that.editCell = function(id, key, select) { Ox.Log('List', 'editCell', id, key) var $item = getItem(id), @@ -893,7 +893,12 @@ Ox.TextList = function(options, self) { that.loseFocus = function() { that.$body.loseFocus(); return that; - } + }; + + that.openPreview = function() { + that.$body.openPreview(); + return that; + }; that.paste = function(data) { that.$body.paste();