[open-ils-commits] [GIT] Evergreen ILS branch rel_2_11 updated. a876d9b7aacefe068415a1fcd060d4eb5174fe53
Evergreen Git
git at git.evergreen-ils.org
Fri Jan 27 17:58:28 EST 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_11 has been updated
via a876d9b7aacefe068415a1fcd060d4eb5174fe53 (commit)
from 67fa976d75ba282eaaacdb3af5795570ef78e9fd (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a876d9b7aacefe068415a1fcd060d4eb5174fe53
Author: Kyle Huckins <khuckins at catalystdevworks.com>
Date: Thu Jan 19 12:35:00 2017 -0800
LP#1657466 - Edit Due Date Doesn't Submit
Change references of nonexistant scope variable args.date
to args.due_date, enabling edit due date to correctly
submit.
Signed-off-by: Kyle Huckins <khuckins at catalystdevworks.com>
Changes to be committed:
modified: Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js
Signed-off-by: Kathy Lussier <klussier at masslnc.org>
diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js b/Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js
index 5113591..7487404 100644
--- a/Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js
+++ b/Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js
@@ -275,9 +275,9 @@ function($scope, $q, $routeParams, $timeout, egCore , egUser, patronSvc , $
$scope.ok = function(args) {
// toISOString gives us Zulu time, so
// adjust for that before truncating to date
- var adjust_date = new Date( $scope.args.date );
+ var adjust_date = new Date( $scope.args.due_date );
adjust_date.setMinutes(
- $scope.args.date.getMinutes() - adjust_date.getTimezoneOffset()
+ $scope.args.due_date.getMinutes() - adjust_date.getTimezoneOffset()
);
var due = adjust_date.toISOString().replace(/T.*/,'');
console.debug("applying due date of " + due);
-----------------------------------------------------------------------
Summary of changes:
.../js/ui/default/staff/circ/patron/items_out.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list