in TableLists, use options.unique, not options.columns[i].unique

This commit is contained in:
rolux 2012-06-27 20:38:07 +02:00
commit 55e2174831
5 changed files with 9 additions and 15 deletions

View file

@ -141,13 +141,13 @@ Ox.FileInput = function(options, self) {
});
},
id: 'id',
unique: true,
visible: true,
width: 28
}
],
items: getItems(),
sort: [{key: 'name', operator: '+'}]
sort: [{key: 'name', operator: '+'}],
unique: 'id'
})
.css({
left: 0,

View file

@ -23,7 +23,6 @@ Ox.FormPanel = function(options, self) {
columns: [
{
id: 'id',
unique: true,
visible: false
},
{
@ -63,6 +62,7 @@ Ox.FormPanel = function(options, self) {
min: 1,
selected: [self.options.form[0].id],
sort: [{key: 'id', operator: '+'}],
unique: 'id',
width: 256
}).bindEvent({
select: function(data) {