forked from 0x2620/pandora
documents panel: use isEmpty ArrayInput option
This commit is contained in:
parent
a2e23739b8
commit
55bcb58f4c
1 changed files with 3 additions and 0 deletions
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue