import annotations dialog: empty status message on file change

This commit is contained in:
rolux 2014-09-18 18:04:58 +02:00
parent 058350c241
commit 3a00f73b9d

View file

@ -50,6 +50,7 @@ pandora.ui.importAnnotationsDialog = function(options) {
}) })
.bindEvent({ .bindEvent({
change: function(data) { change: function(data) {
status.empty();
that[ that[
data.value.length ? 'enableButton' : 'disableButton' data.value.length ? 'enableButton' : 'disableButton'
]('import'); ]('import');