From: Bill Erickson Date: Sat, 26 Oct 2013 22:22:52 +0000 (-0400) Subject: ff : staff UI record upload result msg X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7e93a53d6a95fff2f1a832ace3e14e10d399ca91;p=evergreen%2Fequinox.git ff : staff UI record upload result msg Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/templates/staff/fulfillment/t_records.tt2 b/Open-ILS/src/templates/staff/fulfillment/t_records.tt2 index 357c513847..d611ad0f55 100644 --- a/Open-ILS/src/templates/staff/fulfillment/t_records.tt2 +++ b/Open-ILS/src/templates/staff/fulfillment/t_records.tt2 @@ -19,6 +19,12 @@ +
+
Upload Complete
+
+
+
Upload Failed
+
diff --git a/Open-ILS/web/js/ui/default/staff/fulfillment/app.js b/Open-ILS/web/js/ui/default/staff/fulfillment/app.js index 6b687c2d41..fa2d15ea20 100644 --- a/Open-ILS/web/js/ui/default/staff/fulfillment/app.js +++ b/Open-ILS/web/js/ui/default/staff/fulfillment/app.js @@ -835,11 +835,13 @@ function($scope, $q, $http, ffService, formDataObject, egAuth) { .success(function(data, status, headers, config) { console.log("upload finished"); $scope.in_flight = false; + $scope.uploadComplete = true; deferred.resolve(data); }) .error(function(data, status, headers, config){ console.warn("upload failed"); $scope.in_flight = false; + $scope.uploadFailed = true; deferred.reject(status); });