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({
|
? Ox.ArrayInput({
|
||||||
input: {
|
input: {
|
||||||
get: function(width) {
|
get: function(width) {
|
||||||
return Ox.FormElementGroup({
|
var $input = Ox.FormElementGroup({
|
||||||
elements: [
|
elements: [
|
||||||
Ox.Select({
|
Ox.Select({
|
||||||
items: pandora.site.entities.map(function(entity) {
|
items: pandora.site.entities.map(function(entity) {
|
||||||
|
@ -714,6 +714,7 @@ pandora.ui.documentsPanel = function(options) {
|
||||||
],
|
],
|
||||||
width: width
|
width: width
|
||||||
});
|
});
|
||||||
|
return $input;
|
||||||
},
|
},
|
||||||
getEmpty: function() {
|
getEmpty: function() {
|
||||||
return [pandora.site.entities[0].id, ''];
|
return [pandora.site.entities[0].id, ''];
|
||||||
|
|
Loading…
Reference in a new issue