Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions changelog/unreleased/SOLR-18153.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
title: Fixed file upload in the Documents tab of Admin UI.
type: fixed
authors:
- name: Eric Pugh
links:
- name: SOLR-18153
url: https://issues.apache.org/jira/browse/SOLR-18153
6 changes: 5 additions & 1 deletion solr/webapp/web/js/angular/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,11 @@ solrAdminServices.factory('System',
$http.post(url, fd, {
transformRequest: angular.identity,
headers: {'Content-Type': undefined}
}).success(success).error(error);
}).then(function(response) {
success(response.data);
}, function(response) {
error(response.data);
});
}
})
.filter('splitByComma', function() {
Expand Down
Loading