documents panel: use isEmpty ArrayInput option

This commit is contained in:
rolux 2015-02-14 19:10:16 +00:00
parent a2e23739b8
commit 55bcb58f4c

View file

@ -715,6 +715,9 @@ pandora.ui.documentsPanel = function(options) {
}); });
return $input; return $input;
}, },
isEmpty: function(value) {
return value[1] === '';
},
label: Ox._('Entities'), label: Ox._('Entities'),
setWidth: function(width) { setWidth: function(width) {
$input.options('elements')[1].options({ $input.options('elements')[1].options({