allow for list preview to be opened externally

This commit is contained in:
rolux 2012-04-04 00:34:31 +02:00
parent 4271598944
commit 4871e4b13f

View file

@ -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();