fix #1161 (List view: It shouldn't be possible to add a 'Random' column)
This commit is contained in:
parent
f4d6cd33c9
commit
6015528f8e
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ pandora.ui.list = function() {
|
||||||
}).map(function(key) {
|
}).map(function(key) {
|
||||||
var position = pandora.user.ui.listColumns.indexOf(key.id);
|
var position = pandora.user.ui.listColumns.indexOf(key.id);
|
||||||
return {
|
return {
|
||||||
|
addable: key.id != 'random',
|
||||||
align: ['string', 'text'].indexOf(
|
align: ['string', 'text'].indexOf(
|
||||||
Ox.isArray(key.type) ? key.type[0]: key.type
|
Ox.isArray(key.type) ? key.type[0]: key.type
|
||||||
) > -1 ? 'left' : key.type == 'list' ? 'center' : 'right',
|
) > -1 ? 'left' : key.type == 'list' ? 'center' : 'right',
|
||||||
|
|
Loading…
Reference in a new issue