fix documents panel
This commit is contained in:
parent
821ba813f1
commit
5c3cbc0f6d
1 changed files with 2 additions and 1 deletions
|
@ -678,7 +678,7 @@ pandora.ui.documentsPanel = function(options) {
|
|||
? Ox.ArrayInput({
|
||||
input: {
|
||||
get: function(width) {
|
||||
return Ox.FormElementGroup({
|
||||
var $input = Ox.FormElementGroup({
|
||||
elements: [
|
||||
Ox.Select({
|
||||
items: pandora.site.entities.map(function(entity) {
|
||||
|
@ -714,6 +714,7 @@ pandora.ui.documentsPanel = function(options) {
|
|||
],
|
||||
width: width
|
||||
});
|
||||
return $input;
|
||||
},
|
||||
getEmpty: function() {
|
||||
return [pandora.site.entities[0].id, ''];
|
||||
|
|
Loading…
Reference in a new issue