From 26ebf6344a096dd6f06f0a171e7a17506132cac6 Mon Sep 17 00:00:00 2001 From: "a. bellenir" Date: Wed, 6 Jun 2018 09:41:06 -0400 Subject: [PATCH] LP1770752: clicking 'update expire date' should flag field_modified ensure user is warned that unsaved data may be lost when navigating away Signed-off-by: a. bellenir Signed-off-by: Garry Collum Signed-off-by: Kathy Lussier --- Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js b/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js index 49b0dd6e63..ea5138b78b 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js +++ b/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js @@ -1401,6 +1401,7 @@ function($scope , $routeParams , $q , $uibModal , $window , egCore , var now_epoch = new Date().getTime(); $scope.patron.expire_date = new Date( now_epoch + (seconds * 1000 /* milliseconds */)) + $scope.field_modified(); } // grp is the pgt object -- 2.11.0