Fix typo.
authorJason Stephenson <jason@sigio.com>
Sun, 2 Sep 2018 15:04:32 +0000 (11:04 -0400)
committerJason Stephenson <jason@sigio.com>
Fri, 26 Oct 2018 23:04:56 +0000 (19:04 -0400)
Open-ILS/web/js/ui/default/staff/circ/services/circ.js

index 2067e44..1bfe698 100644 (file)
@@ -1379,7 +1379,7 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog,  egAddCopyAl
         var doRefresh = copy.refresh;
         var arg = {};
         if (copy["status.id"] == 1) {
-            egConfimDialog.open(
+            egConfirmDialog.open(
                 egCore.strings.MARK_DISCARD_CHECKED_OUT,
                 egCore.strings.MARK_DISCARD_CONTINUE,
                 {
@@ -1390,7 +1390,7 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog,  egAddCopyAl
                 arg.handle_checkin = 1;
             });
         } else if (copy["status.id"] == 6) {
-            egConfimDialog.open(
+            egConfirmDialog.open(
                 egCore.strings.MARK_DISCARD_IN_TRANSIT,
                 egCore.strings.MARK_DISCARD_CONTINUE,
                 {
@@ -1401,7 +1401,7 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog,  egAddCopyAl
                 arg.handle_transit = 1;
             });
         } else if (copy["status.restrict_copy_delete"] == "t") {
-            egConfimDialog.open(
+            egConfirmDialog.open(
                 egCore.strings.MARK_DISCARD_RESTRICT_DELETE,
                 egCore.strings.MARK_DISCARD_CONTINUE,
                 {
@@ -1419,7 +1419,7 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog,  egAddCopyAl
         ).then(function(resp) {
             if (evt = egCore.evt.parse(resp)) {
                 if (evt.textcode == "ITEM_TO_MARK_LAST_HOLD_COPY") {
-                    egConfimDialog.open(
+                    egConfirmDialog.open(
                         egCore.strings.MARK_DISCARD_LAST_HOLD_COPY,
                         egCore.strings.MARK_DISCARD_CONTINUE,
                         {