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({
|
.bindEvent({
|
||||||
change: function(data) {
|
change: function(data) {
|
||||||
$status.empty();
|
$status.empty();
|
||||||
|
data.value.length && $formatSelect.options({value: Ox.last(data.value[0].name.split('.'))});
|
||||||
that[
|
that[
|
||||||
data.value.length ? 'enableButton' : 'disableButton'
|
data.value.length ? 'enableButton' : 'disableButton'
|
||||||
]('import');
|
]('import');
|
||||||
|
|
Loading…
Reference in a new issue