allow for list preview to be opened externally
This commit is contained in:
parent
4271598944
commit
4871e4b13f
1 changed files with 11 additions and 6 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue