Fix broken check for import status

This commit is contained in:
Duncan Sommerville 2015-11-16 15:44:06 -05:00
parent 2fb988a7cb
commit 43b1ce6520
1 changed files with 1 additions and 1 deletions

View File

@ -1466,7 +1466,7 @@ var AIRTIME = (function(AIRTIME) {
$.each(selected, function () {
if (this.ingested < 0) isValid = false;
var isImported = !$.isEmptyObject(this.file);
if (shouldBeImported ? isImported : !isImported) {
if (shouldBeImported ? !isImported : isImported) {
isValid = false;
}
});