Fix document scope reset after add, fix wrong web.xml configuration

(it broke TIFF image encoding on OCR)
This commit is contained in:
jendib
2013-08-22 01:44:51 +02:00
parent 1a495ac948
commit fb0aec5fee
4 changed files with 8 additions and 5 deletions
@@ -92,7 +92,10 @@ App.controller('DocumentEdit', function($scope, $q, $http, $state, $stateParams,
type: 'success',
msg: 'Document successfully added (with ' + fileUploadCount + ' file' + (fileUploadCount > 1 ? 's' : '') + ')'
});
$scope.document = { tags: [] };
$scope.document = {
tags: [],
language: 'fra'
};
$scope.newFiles = [];
$scope.loadDocuments();
}