select type based on file extension, fixes #2560
This commit is contained in:
parent
2a3062e029
commit
5862a7066c
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ pandora.ui.importAnnotationsDialog = function(options) {
|
|||
.bindEvent({
|
||||
change: function(data) {
|
||||
$status.empty();
|
||||
data.value.length && $formatSelect.options({value: Ox.last(data.value[0].name.split('.'))});
|
||||
that[
|
||||
data.value.length ? 'enableButton' : 'disableButton'
|
||||
]('import');
|
||||
|
|
Loading…
Reference in a new issue