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;
},
isEmpty: function(value) {
return value[1] === '';
},
label: Ox._('Entities'),
setWidth: function(width) {
$input.options('elements')[1].options({