mirror of
https://git.victorphan.net/basketballcantho/Teedy_custom.git
synced 2026-08-05 22:03:11 +07:00
Fix document scope reset after add, fix wrong web.xml configuration
(it broke TIFF image encoding on OCR)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user