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;
|
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({
|
||||||
|
|
Loading…
Reference in a new issue