From a769724694d0b7e2b841280e5281dbc02d5deb46 Mon Sep 17 00:00:00 2001 From: Cesar Velez Date: Tue, 10 Oct 2017 13:55:59 -0400 Subject: [PATCH] LP#1689325 - require most modals have explicit 'exit' or 'cancel' action inside the modal Disable the default bahavior of bootstrap modals that lets the user click outside the modal to dismiss or cancel it. Similar behavior is not in the XUL, and this will make unintentional clicks outside the modal less prone to losing work in said modal. Signed-off by: Cesar Velez Signed-off-by: Mike Rylander --- Open-ILS/web/js/ui/default/staff/acq/app.js | 1 + .../ui/default/staff/admin/local/asset/copy_tag.js | 1 + .../ui/default/staff/admin/local/rating/badge.js | 1 + .../web/js/ui/default/staff/admin/serials/app.js | 1 + .../staff/admin/serials/pattern_template.js | 1 + .../staff/admin/server/authority/heading_field.js | 1 + .../staff/admin/server/config/copy_tag_type.js | 1 + .../staff/admin/server/config/marc_field.js | 1 + .../web/js/ui/default/staff/cat/bucket/copy/app.js | 6 ++++++ .../js/ui/default/staff/cat/bucket/record/app.js | 8 ++++++++ .../web/js/ui/default/staff/cat/catalog/app.js | 11 +++++++++++ .../js/ui/default/staff/cat/services/holdings.js | 1 + .../js/ui/default/staff/cat/services/marcedit.js | 1 + .../web/js/ui/default/staff/cat/volcopy/app.js | 2 ++ Open-ILS/web/js/ui/default/staff/cat/z3950/app.js | 5 +++++ .../web/js/ui/default/staff/circ/patron/app.js | 3 +++ .../web/js/ui/default/staff/circ/patron/bills.js | 1 + .../js/ui/default/staff/circ/patron/bucket/app.js | 8 ++++++++ .../js/ui/default/staff/circ/patron/items_out.js | 2 ++ .../web/js/ui/default/staff/circ/patron/regctl.js | 2 ++ .../js/ui/default/staff/circ/services/billing.js | 1 + .../web/js/ui/default/staff/circ/services/circ.js | 14 ++++++++++++++ .../web/js/ui/default/staff/circ/services/holds.js | 8 ++++++++ .../web/js/ui/default/staff/circ/services/item.js | 6 ++++++ .../js/ui/default/staff/circ/services/patrons.js | 1 + .../js/ui/default/staff/circ/services/transits.js | 1 + .../web/js/ui/default/staff/circ/transits/list.js | 1 + Open-ILS/web/js/ui/default/staff/offline.js | 2 ++ .../staff/serials/directives/mfhd_manager.js | 1 + .../staff/serials/directives/prediction_manager.js | 3 ++- .../serials/directives/subscription_manager.js | 1 + .../js/ui/default/staff/serials/services/core.js | 1 + Open-ILS/web/js/ui/default/staff/services/mfhd.js | 1 + .../web/js/ui/default/staff/services/op_change.js | 1 + Open-ILS/web/js/ui/default/staff/services/ui.js | 5 +++++ 35 files changed, 104 insertions(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/staff/acq/app.js b/Open-ILS/web/js/ui/default/staff/acq/app.js index c9ce2f0be6..92dc114ae7 100644 --- a/Open-ILS/web/js/ui/default/staff/acq/app.js +++ b/Open-ILS/web/js/ui/default/staff/acq/app.js @@ -74,6 +74,7 @@ function($scope , $routeParams , $location , $window , $timeout , egCore , $uibM $uibModal.open({ templateUrl: './acq/t_edit_marc_order_record', size: 'lg', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.focusMe = true; diff --git a/Open-ILS/web/js/ui/default/staff/admin/local/asset/copy_tag.js b/Open-ILS/web/js/ui/default/staff/admin/local/asset/copy_tag.js index 3d9ca2ce81..b1d12f016f 100644 --- a/Open-ILS/web/js/ui/default/staff/admin/local/asset/copy_tag.js +++ b/Open-ILS/web/js/ui/default/staff/admin/local/asset/copy_tag.js @@ -28,6 +28,7 @@ function($scope , $q , $timeout , $location , $window , $uibModal , egCore , egG gridControls = $scope.gridControls; $uibModal.open({ template : templ, + backdrop: 'static', controller : [ '$scope', '$uibModalInstance', function($scope , $uibModalInstance) { diff --git a/Open-ILS/web/js/ui/default/staff/admin/local/rating/badge.js b/Open-ILS/web/js/ui/default/staff/admin/local/rating/badge.js index a4d9dcf010..577ee5fdf7 100644 --- a/Open-ILS/web/js/ui/default/staff/admin/local/rating/badge.js +++ b/Open-ILS/web/js/ui/default/staff/admin/local/rating/badge.js @@ -97,6 +97,7 @@ function($scope , $q , $timeout , $location , $window , $uibModal , var deferred = $q.defer(); $uibModal.open({ templateUrl: './admin/local/rating/edit_badge', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.focusMe = true; diff --git a/Open-ILS/web/js/ui/default/staff/admin/serials/app.js b/Open-ILS/web/js/ui/default/staff/admin/serials/app.js index 81f68e4aa4..6d53f3323c 100644 --- a/Open-ILS/web/js/ui/default/staff/admin/serials/app.js +++ b/Open-ILS/web/js/ui/default/staff/admin/serials/app.js @@ -36,6 +36,7 @@ function(egCore , $q , $uibModal , ngToast ) { service.create_or_edit_template = function(id,ou,cb) { $uibModal.open({ template: '', + backdrop: 'static', controller: ['sharedScope','$uibModalInstance', function(sharedScope , $uibModalInstance ) { diff --git a/Open-ILS/web/js/ui/default/staff/admin/serials/pattern_template.js b/Open-ILS/web/js/ui/default/staff/admin/serials/pattern_template.js index 1585bf4d64..fccc867764 100644 --- a/Open-ILS/web/js/ui/default/staff/admin/serials/pattern_template.js +++ b/Open-ILS/web/js/ui/default/staff/admin/serials/pattern_template.js @@ -34,6 +34,7 @@ function($scope , $q , $timeout , $location , $window , $uibModal , egCore , egG gridControls = $scope.gridControls; $uibModal.open({ template : templ, + backdrop: 'static', controller : [ '$scope', '$uibModalInstance', function($scope , $uibModalInstance) { diff --git a/Open-ILS/web/js/ui/default/staff/admin/server/authority/heading_field.js b/Open-ILS/web/js/ui/default/staff/admin/server/authority/heading_field.js index 1542219eb6..e7a490ec04 100644 --- a/Open-ILS/web/js/ui/default/staff/admin/server/authority/heading_field.js +++ b/Open-ILS/web/js/ui/default/staff/admin/server/authority/heading_field.js @@ -28,6 +28,7 @@ function($scope , $q , $timeout , $location , $window , $uibModal , egCore , egG gridControls = $scope.gridControls; $uibModal.open({ template : templ, + backdrop: 'static', controller : [ '$scope', '$uibModalInstance', function($scope , $uibModalInstance) { diff --git a/Open-ILS/web/js/ui/default/staff/admin/server/config/copy_tag_type.js b/Open-ILS/web/js/ui/default/staff/admin/server/config/copy_tag_type.js index 5d367eba05..2465722af6 100644 --- a/Open-ILS/web/js/ui/default/staff/admin/server/config/copy_tag_type.js +++ b/Open-ILS/web/js/ui/default/staff/admin/server/config/copy_tag_type.js @@ -28,6 +28,7 @@ function($scope , $q , $timeout , $location , $window , $uibModal , egCore , egG gridControls = $scope.gridControls; $uibModal.open({ template : templ, + backdrop: 'static', controller : [ '$scope', '$uibModalInstance', function($scope , $uibModalInstance) { diff --git a/Open-ILS/web/js/ui/default/staff/admin/server/config/marc_field.js b/Open-ILS/web/js/ui/default/staff/admin/server/config/marc_field.js index fe6f93ff4a..768a5c6ab2 100644 --- a/Open-ILS/web/js/ui/default/staff/admin/server/config/marc_field.js +++ b/Open-ILS/web/js/ui/default/staff/admin/server/config/marc_field.js @@ -36,6 +36,7 @@ function($scope , $q , $timeout , $location , $window , $uibModal , egCore , egG gridControls = $scope.gridControls; $uibModal.open({ template : templ, + backdrop: 'static', controller : [ '$scope', '$uibModalInstance', function($scope , $uibModalInstance) { diff --git a/Open-ILS/web/js/ui/default/staff/cat/bucket/copy/app.js b/Open-ILS/web/js/ui/default/staff/cat/bucket/copy/app.js index 151fe910e4..9b99670b43 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/bucket/copy/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/bucket/copy/app.js @@ -278,6 +278,7 @@ function($scope, $location, $q, $timeout, $uibModal, $scope.openCreateBucketDialog = function() { $uibModal.open({ templateUrl: './cat/bucket/share/t_bucket_create', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.focusMe = true; @@ -302,6 +303,7 @@ function($scope, $location, $q, $timeout, $uibModal, $scope.openEditBucketDialog = function() { $uibModal.open({ templateUrl: './cat/bucket/share/t_bucket_edit', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.focusMe = true; @@ -328,6 +330,7 @@ function($scope, $location, $q, $timeout, $uibModal, $scope.openDeleteBucketDialog = function() { $uibModal.open({ templateUrl: './cat/bucket/share/t_bucket_delete', + backdrop: 'static', controller : ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.bucket = function() { return bucketSvc.currentBucket } @@ -347,6 +350,7 @@ function($scope, $location, $q, $timeout, $uibModal, $scope.openSharedBucketDialog = function() { $uibModal.open({ templateUrl: './cat/bucket/share/t_load_shared', + backdrop: 'static', controller : ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.focusMe = true; @@ -536,6 +540,7 @@ function($scope, $q , $routeParams , $timeout , $window , $uibModal , bucketSvc return $uibModal.open({ templateUrl: './cat/catalog/t_request_items', + backdrop: 'static', animation: true, controller: ['$scope','$uibModalInstance', @@ -699,6 +704,7 @@ function($scope, $q , $routeParams , $timeout , $window , $uibModal , bucketSvc $scope.applyTags = function(copies) { return $uibModal.open({ templateUrl: './cat/bucket/copy/t_apply_tags', + backdrop: 'static', animation: true, controller: ['$scope','$uibModalInstance', diff --git a/Open-ILS/web/js/ui/default/staff/cat/bucket/record/app.js b/Open-ILS/web/js/ui/default/staff/cat/bucket/record/app.js index 10b26104ff..d7d3cc61dd 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/bucket/record/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/bucket/record/app.js @@ -309,6 +309,7 @@ function($scope, $location, $q, $timeout, $uibModal, $scope.openCreateBucketDialog = function() { $uibModal.open({ templateUrl: './cat/bucket/share/t_bucket_create', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.focusMe = true; @@ -333,6 +334,7 @@ function($scope, $location, $q, $timeout, $uibModal, $scope.openEditBucketDialog = function() { $uibModal.open({ templateUrl: './cat/bucket/share/t_bucket_edit', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.focusMe = true; @@ -360,6 +362,7 @@ function($scope, $location, $q, $timeout, $uibModal, $scope.openDeleteBucketDialog = function() { $uibModal.open({ templateUrl: './cat/bucket/share/t_bucket_delete', + backdrop: 'static', controller : ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.bucket = function() { return bucketSvc.currentBucket } @@ -379,6 +382,7 @@ function($scope, $location, $q, $timeout, $uibModal, $scope.openSharedBucketDialog = function() { $uibModal.open({ templateUrl: './cat/bucket/share/t_load_shared', + backdrop: 'static', controller : ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.focusMe = true; @@ -401,6 +405,7 @@ function($scope, $location, $q, $timeout, $uibModal, $scope.openExportBucketDialog = function() { $uibModal.open({ templateUrl: './cat/bucket/record/t_bucket_export', + backdrop: 'static', controller : ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.args = {format : 'XML', encoding : 'UTF-8'}; // defaults @@ -556,6 +561,7 @@ function($scope, $q , $routeParams, bucketSvc, egCore, $window, $scope.openRecordMergeDialog = function(records) { $uibModal.open({ templateUrl: './cat/bucket/record/t_merge_records', + backdrop: 'static', size: 'lg', windowClass: 'eg-wide-modal', controller: @@ -651,6 +657,7 @@ function($scope, $q , $routeParams, bucketSvc, egCore, $window, $uibModal.open({ templateUrl: './cat/bucket/record/t_edit_lead_record', + backdrop: 'static', size: 'lg', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { @@ -755,6 +762,7 @@ function($scope, $q , $routeParams, bucketSvc, egCore, $window, if (failures.length) { $uibModal.open({ templateUrl: './cat/bucket/record/t_records_not_deleted', + backdrop: 'static', controller : ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.failures = failures; diff --git a/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js b/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js index af2ea77561..33af1002aa 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js @@ -309,6 +309,7 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e var recId = $scope.record_id; return $uibModal.open({ templateUrl: './cat/catalog/t_add_to_bucket', + backdrop: 'static', animation: true, size: 'md', controller: @@ -373,6 +374,7 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e var recId = $scope.record_id; return $uibModal.open({ templateUrl: './share/t_subscription_select_dialog', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { @@ -486,6 +488,7 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e patron_search_dialog = function() { return $uibModal.open({ templateUrl: './share/t_patron_selector', + backdrop: 'static', size: 'lg', animation: true, controller: @@ -589,6 +592,7 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e return $uibModal.open({ templateUrl: './cat/catalog/t_conjoined_selector', + backdrop: 'static', animation: true, controller: ['$scope','$uibModalInstance', @@ -674,6 +678,7 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e return $uibModal.open({ templateUrl: './cat/catalog/t_add_to_bucket', + backdrop: 'static', animation: true, size: 'md', controller: @@ -780,6 +785,7 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e if (combined_results.length > 0) { $uibModal.open({ template: '', + backdrop: 'static', animation: true, size: 'md', controller: @@ -841,6 +847,7 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e if (combined_brt.length > 0 || combined_brsrc.length > 0) { $uibModal.open({ template: '', + backdrop: 'static', animation: true, size: 'md', controller: @@ -953,6 +960,7 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e angular.forEach(copy_list, function (cp) { $uibModal.open({ templateUrl: './cat/share/t_replace_barcode', + backdrop: 'static', animation: true, controller: ['$scope','$uibModalInstance', @@ -1278,6 +1286,7 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e $scope.markLibAsVolTarget = function() { return $uibModal.open({ templateUrl: './cat/catalog/t_choose_vol_target_lib', + backdrop: 'static', animation: true, controller: ['$scope','$uibModalInstance', @@ -1557,6 +1566,7 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e return $uibModal.open({ templateUrl: './cat/catalog/t_conjoined_selector', + backdrop: 'static', animation: true, controller: ['$scope','$uibModalInstance', @@ -1839,6 +1849,7 @@ function($scope , $location, egCore, $uibModal) { var vqbibrecId = bre.id(); $uibModal.open({ templateUrl: './cat/catalog/t_edit_marc_modal', + backdrop: 'static', size: 'lg', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.focusMe = true; diff --git a/Open-ILS/web/js/ui/default/staff/cat/services/holdings.js b/Open-ILS/web/js/ui/default/staff/cat/services/holdings.js index 3f4ec7d3af..1d97a49ddd 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/services/holdings.js +++ b/Open-ILS/web/js/ui/default/staff/cat/services/holdings.js @@ -332,6 +332,7 @@ function(egCore , $q) { if (key) { $uibModal.open({ templateUrl: './cat/share/t_embedded_volcopy', + backdrop: 'static', size: 'lg', windowClass: 'eg-wide-modal', controller: diff --git a/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js b/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js index 8717af4a47..d525a90933 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js +++ b/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js @@ -497,6 +497,7 @@ angular.module('egMarcMod', ['egCoreMod', 'ui.bootstrap']) var args = { changed : false }; $uibModal.open({ templateUrl: './cat/share/t_authority_link_dialog', + backdrop: 'static', size: 'lg', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.controlSet = cs; diff --git a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js index a0ddadea8a..2592be771a 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js @@ -1673,6 +1673,7 @@ function($scope , $q , $window , $routeParams , $location , $timeout , egCore , return $uibModal.open({ templateUrl: './cat/volcopy/t_copy_notes', + backdrop: 'static', animation: true, controller: ['$scope','$uibModalInstance', @@ -1737,6 +1738,7 @@ function($scope , $q , $window , $routeParams , $location , $timeout , egCore , return $uibModal.open({ templateUrl: './cat/volcopy/t_copy_tags', + backdrop: 'static', animation: true, controller: ['$scope','$uibModalInstance', diff --git a/Open-ILS/web/js/ui/default/staff/cat/z3950/app.js b/Open-ILS/web/js/ui/default/staff/cat/z3950/app.js index b6be4594aa..45ad9d55e2 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/z3950/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/z3950/app.js @@ -151,6 +151,7 @@ function($scope , $q , $location , $timeout , $window, egCore , egGridDataProvi $scope.showRawSearchForm = function() { $uibModal.open({ templateUrl: './cat/z3950/t_raw_search', + backdrop: 'static', size: 'md', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { @@ -254,6 +255,7 @@ function($scope , $q , $location , $timeout , $window, egCore , egGridDataProvi var recId = 0; $uibModal.open({ templateUrl: './cat/z3950/t_marc_edit', + backdrop: 'static', size: 'lg', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { @@ -280,6 +282,7 @@ function($scope , $q , $location , $timeout , $window, egCore , egGridDataProvi var items = $scope.gridControls.selectedItems(); $uibModal.open({ templateUrl: './cat/z3950/t_marc_html', + backdrop: 'static', size: 'lg', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { @@ -302,6 +305,7 @@ function($scope , $q , $location , $timeout , $window, egCore , egGridDataProvi }; $uibModal.open({ templateUrl: './cat/z3950/t_overlay', + backdrop: 'static', size: 'lg', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { @@ -347,6 +351,7 @@ function($scope , $q , $location , $timeout , $window, egCore , egGridDataProvi $scope.editOverlayRecord = function() { $uibModal.open({ templateUrl: './cat/z3950/t_edit_overlay_record', + backdrop: 'static', size: 'lg', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/app.js b/Open-ILS/web/js/ui/default/staff/circ/patron/app.js index e7d6430453..705a4a78b2 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/patron/app.js +++ b/Open-ILS/web/js/ui/default/staff/circ/patron/app.js @@ -577,6 +577,7 @@ function($scope, $q, $routeParams, $timeout, $window, $location, egCore , $scope.openCreateBucketDialog = function() { $uibModal.open({ templateUrl: './circ/patron/bucket/t_bucket_create', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.focusMe = true; @@ -891,6 +892,7 @@ function($scope, $filter , $routeParams , $location , egCore , patronSvc , $uib $scope.newNote = function() { $uibModal.open({ templateUrl: './circ/patron/t_new_note_dialog', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { @@ -1057,6 +1059,7 @@ function($scope, $routeParams , $q , $window , $timeout, $location , egCore , user.card(card); $uibModal.open({ templateUrl: './circ/patron/t_move_to_group_dialog', + backdrop: 'static', controller: [ '$scope','$uibModalInstance', function($scope , $uibModalInstance) { diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/bills.js b/Open-ILS/web/js/ui/default/staff/circ/patron/bills.js index 4fa6398c10..0aa98d3cb3 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/patron/bills.js +++ b/Open-ILS/web/js/ui/default/staff/circ/patron/bills.js @@ -537,6 +537,7 @@ function($scope , $q , $routeParams , egCore , egConfirmDialog , $location, return $uibModal.open({ templateUrl : './circ/patron/t_cc_payment_dialog', + backdrop: 'static', controller : [ '$scope','$uibModalInstance', function($scope , $uibModalInstance) { diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/bucket/app.js b/Open-ILS/web/js/ui/default/staff/circ/patron/bucket/app.js index 0e8545ca94..35396f4625 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/patron/bucket/app.js +++ b/Open-ILS/web/js/ui/default/staff/circ/patron/bucket/app.js @@ -110,6 +110,7 @@ function($scope, $location, $q, $timeout, $uibModal, $scope.openCreateBucketDialog = function() { $uibModal.open({ templateUrl: './circ/patron/bucket/t_bucket_create', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.focusMe = true; @@ -134,6 +135,7 @@ function($scope, $location, $q, $timeout, $uibModal, $scope.openEditBucketDialog = function() { $uibModal.open({ templateUrl: './circ/patron/bucket/t_bucket_edit', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.focusMe = true; @@ -160,6 +162,7 @@ function($scope, $location, $q, $timeout, $uibModal, $scope.openDeleteBucketDialog = function() { $uibModal.open({ templateUrl: './circ/patron/bucket/t_bucket_delete', + backdrop: 'static', controller : ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.bucket = function() { return bucketSvc.currentBucket } @@ -179,6 +182,7 @@ function($scope, $location, $q, $timeout, $uibModal, $scope.openSharedBucketDialog = function() { $uibModal.open({ templateUrl: './circ/patron/bucket/t_load_shared', + backdrop: 'static', controller : ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.focusMe = true; @@ -292,6 +296,7 @@ function($scope, $q , $routeParams , $timeout , $window , $uibModal , bucketSvc $uibModal.open({ templateUrl: './circ/patron/bucket/t_update_statcats', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.running = false; @@ -434,6 +439,7 @@ function($scope, $q , $routeParams , $timeout , $window , $uibModal , bucketSvc $uibModal.open({ templateUrl: './circ/patron/bucket/t_changesets', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.running = false; @@ -559,6 +565,7 @@ function($scope, $q , $routeParams , $timeout , $window , $uibModal , bucketSvc $uibModal.open({ templateUrl: './circ/patron/bucket/t_update_all', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.running = false; @@ -703,6 +710,7 @@ function($scope, $q , $routeParams , $timeout , $window , $uibModal , bucketSvc $uibModal.open({ templateUrl: './circ/patron/bucket/t_delete_all', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.running = false; 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 c8631943ea..153b1b5488 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 @@ -286,6 +286,7 @@ function($scope, $q, $routeParams, $timeout, egCore , egUser, patronSvc , $ $uibModal.open({ templateUrl : './circ/patron/t_edit_due_date_dialog', + backdrop: 'static', controller : [ '$scope','$uibModalInstance', function($scope , $uibModalInstance) { @@ -439,6 +440,7 @@ function($scope, $q, $routeParams, $timeout, egCore , egUser, patronSvc , $ return $uibModal.open({ templateUrl : './circ/patron/t_edit_due_date_dialog', templateUrl : './circ/patron/t_renew_with_date_dialog', + backdrop: 'static', controller : [ '$scope','$uibModalInstance', function($scope , $uibModalInstance) { 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 728f1764a8..c190f4c51f 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 @@ -1475,6 +1475,7 @@ function($scope , $routeParams , $q , $uibModal , $window , egCore , $scope.cards_dialog = function() { $uibModal.open({ templateUrl: './circ/patron/t_patron_cards_dialog', + backdrop: 'static', controller: ['$scope','$uibModalInstance','cards','perms', function($scope , $uibModalInstance , cards , perms) { @@ -1548,6 +1549,7 @@ function($scope , $routeParams , $q , $uibModal , $window , egCore , $scope.secondary_groups_dialog = function() { $uibModal.open({ templateUrl: './circ/patron/t_patron_groups_dialog', + backdrop: 'static', controller: ['$scope','$uibModalInstance','linked_groups','pgt_depth', function($scope , $uibModalInstance , linked_groups , pgt_depth) { diff --git a/Open-ILS/web/js/ui/default/staff/circ/services/billing.js b/Open-ILS/web/js/ui/default/staff/circ/services/billing.js index b01f9bfa3b..08acd99509 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/services/billing.js +++ b/Open-ILS/web/js/ui/default/staff/circ/services/billing.js @@ -114,6 +114,7 @@ function($uibModal , $q , egCore) { return $uibModal.open({ templateUrl: './circ/share/t_bill_patron_dialog', + backdrop: 'static', controller: ['$scope','$uibModalInstance','$timeout','billingTypes','xact','patron', function($scope , $uibModalInstance , $timeout , billingTypes , xact , patron) { diff --git a/Open-ILS/web/js/ui/default/staff/circ/services/circ.js b/Open-ILS/web/js/ui/default/staff/circ/services/circ.js index 3c16f42de4..5910127244 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/services/circ.js +++ b/Open-ILS/web/js/ui/default/staff/circ/services/circ.js @@ -706,6 +706,7 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog, egCore.audio.play('warning.circ.event_override'); return $uibModal.open({ templateUrl: './circ/share/t_event_override_dialog', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { @@ -744,6 +745,7 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog, if (angular.isArray(evt)) evt = evt[0]; return $uibModal.open({ templateUrl: './circ/share/t_copy_not_avail_dialog', + backdrop: 'static', controller: ['$scope','$uibModalInstance','copyStatus', function($scope , $uibModalInstance , copyStatus) { @@ -784,6 +786,7 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog, return $uibModal.open({ templateUrl: './circ/share/t_noncat_dialog', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { @@ -816,6 +819,7 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog, return $uibModal.open({ templateUrl: './circ/share/t_precat_dialog', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', 'circMods', function($scope, $uibModalInstance, circMods) { @@ -884,6 +888,7 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog, if (angular.isArray(evt)) evt = evt[0]; return $uibModal.open({ templateUrl: './circ/share/t_copy_in_transit_dialog', + backdrop: 'static', controller: ['$scope','$uibModalInstance','transit', function($scope , $uibModalInstance , transit) { @@ -952,6 +957,7 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog, return $uibModal.open({ templateUrl: './circ/share/t_circ_exists_dialog', + backdrop: 'static', controller: ['$scope','$uibModalInstance', function($scope , $uibModalInstance) { @@ -999,6 +1005,7 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog, service.backdate_dialog = function(circ_ids) { return $uibModal.open({ templateUrl: './circ/share/t_backdate_dialog', + backdrop: 'static', controller: ['$scope','$uibModalInstance', function($scope , $uibModalInstance) { @@ -1088,6 +1095,7 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog, return $uibModal.open({ templateUrl: './circ/share/t_mark_claims_returned_dialog', + backdrop: 'static', controller: ['$scope','$uibModalInstance', function($scope , $uibModalInstance) { @@ -1518,6 +1526,7 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog, return $uibModal.open({ templateUrl: tmpl, + backdrop: 'static', controller: [ '$scope','$uibModalInstance', function($scope , $uibModalInstance) { @@ -1562,6 +1571,7 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog, if (angular.isArray(evt)) evt = evt[0]; return $uibModal.open({ templateUrl: './circ/checkin/t_hold_verify', + backdrop: 'static', controller: ['$scope','$uibModalInstance','params', function($scope , $uibModalInstance , params) { @@ -1598,6 +1608,7 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog, egCore.audio.play('warning.circ.bad_barcode'); return $uibModal.open({ templateUrl: './circ/share/t_bad_barcode_dialog', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { @@ -1693,6 +1704,7 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog, .then(function() { return $uibModal.open({ templateUrl: './circ/share/t_barcode_choice_dialog', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { @@ -1711,6 +1723,7 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog, service.create_penalty = function(user_id) { return $uibModal.open({ templateUrl: './circ/share/t_new_message_dialog', + backdrop: 'static', controller: ['$scope','$uibModalInstance','staffPenalties', function($scope , $uibModalInstance , staffPenalties) { @@ -1751,6 +1764,7 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog, service.edit_penalty = function(usr_penalty) { return $uibModal.open({ templateUrl: './circ/share/t_new_message_dialog', + backdrop: 'static', controller: ['$scope','$uibModalInstance','staffPenalties', function($scope , $uibModalInstance , staffPenalties) { diff --git a/Open-ILS/web/js/ui/default/staff/circ/services/holds.js b/Open-ILS/web/js/ui/default/staff/circ/services/holds.js index 53cd39ca35..b8f67d980f 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/services/holds.js +++ b/Open-ILS/web/js/ui/default/staff/circ/services/holds.js @@ -61,6 +61,7 @@ function($uibModal , $q , egCore , egConfirmDialog , egAlertDialog) { return $uibModal.open({ templateUrl : './circ/share/t_cancel_hold_dialog', + backdrop: 'static', controller : ['$scope', '$uibModalInstance', 'cancel_reasons', function($scope, $uibModalInstance, cancel_reasons) { @@ -115,6 +116,7 @@ function($uibModal , $q , egCore , egConfirmDialog , egAlertDialog) { return $uibModal.open({ templateUrl : './circ/share/t_uncancel_hold_dialog', + backdrop: 'static', controller : ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { @@ -189,6 +191,7 @@ function($uibModal , $q , egCore , egConfirmDialog , egAlertDialog) { if (!hold_ids.length) return $q.when(); return $uibModal.open({ templateUrl : './circ/share/t_hold_copy_quality_dialog', + backdrop: 'static', controller : ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { @@ -212,6 +215,7 @@ function($uibModal , $q , egCore , egConfirmDialog , egAlertDialog) { if (!hold_ids.length) return $q.when(); return $uibModal.open({ templateUrl : './circ/share/t_hold_edit_pickup_lib', + backdrop: 'static', controller : ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { @@ -244,6 +248,7 @@ function($uibModal , $q , egCore , egConfirmDialog , egAlertDialog) { if (!hold_ids.length) return $q.when(); return $uibModal.open({ templateUrl : './circ/share/t_hold_notification_prefs', + backdrop: 'static', controller : ['$scope', '$uibModalInstance', 'sms_carriers', function($scope, $uibModalInstance, sms_carriers) { @@ -304,6 +309,7 @@ function($uibModal , $q , egCore , egConfirmDialog , egAlertDialog) { return $uibModal.open({ templateUrl : './circ/share/t_hold_dates', + backdrop: 'static', controller : ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { @@ -687,6 +693,7 @@ function($window , $location , $timeout , egCore , egHolds , egCirc) { $scope.new_note = function() { return $uibModal.open({ templateUrl : './circ/share/t_hold_note_dialog', + backdrop: 'static', controller : ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { @@ -717,6 +724,7 @@ function($window , $location , $timeout , egCore , egHolds , egCirc) { $scope.new_notification = function() { return $uibModal.open({ templateUrl : './circ/share/t_hold_notification_dialog', + backdrop: 'static', controller : ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { diff --git a/Open-ILS/web/js/ui/default/staff/circ/services/item.js b/Open-ILS/web/js/ui/default/staff/circ/services/item.js index 17d3269d81..44c9aa134d 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/services/item.js +++ b/Open-ILS/web/js/ui/default/staff/circ/services/item.js @@ -177,6 +177,7 @@ function(egCore , egCirc , $uibModal , $q , $timeout , $window , egConfirmDialog return $uibModal.open({ templateUrl: './cat/catalog/t_add_to_bucket', + backdrop: 'static', animation: true, size: 'md', controller: @@ -275,6 +276,7 @@ function(egCore , egCirc , $uibModal , $q , $timeout , $window , egConfirmDialog if (combined_results.length > 0) { $uibModal.open({ template: '', + backdrop: 'static', animation: true, size: 'md', controller: @@ -336,6 +338,7 @@ function(egCore , egCirc , $uibModal , $q , $timeout , $window , egConfirmDialog if (combined_brt.length > 0 || combined_brsrc.length > 0) { $uibModal.open({ template: '', + backdrop: 'static', animation: true, size: 'md', controller: @@ -368,6 +371,7 @@ function(egCore , egCirc , $uibModal , $q , $timeout , $window , egConfirmDialog return $uibModal.open({ templateUrl: './cat/catalog/t_request_items', + backdrop: 'static', animation: true, controller: ['$scope','$uibModalInstance','egUser', @@ -439,6 +443,7 @@ function(egCore , egCirc , $uibModal , $q , $timeout , $window , egConfirmDialog return $uibModal.open({ templateUrl: './cat/catalog/t_conjoined_selector', + backdrop: 'static', animation: true, controller: ['$scope','$uibModalInstance', @@ -689,6 +694,7 @@ function(egCore , egCirc , $uibModal , $q , $timeout , $window , egConfirmDialog angular.forEach(items, function (cp) { $uibModal.open({ templateUrl: './cat/share/t_replace_barcode', + backdrop: 'static', animation: true, controller: ['$scope','$uibModalInstance', diff --git a/Open-ILS/web/js/ui/default/staff/circ/services/patrons.js b/Open-ILS/web/js/ui/default/staff/circ/services/patrons.js index 08e5548826..17a7c7ec4b 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/services/patrons.js +++ b/Open-ILS/web/js/ui/default/staff/circ/services/patrons.js @@ -10,6 +10,7 @@ function($uibModal , $q , egCore) { var deferred = $q.defer(); $uibModal.open({ templateUrl: './circ/share/t_merge_patrons', + backdrop: 'static', size: 'lg', windowClass: 'eg-wide-modal', controller: diff --git a/Open-ILS/web/js/ui/default/staff/circ/services/transits.js b/Open-ILS/web/js/ui/default/staff/circ/services/transits.js index 001de632ad..01033cc56f 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/services/transits.js +++ b/Open-ILS/web/js/ui/default/staff/circ/services/transits.js @@ -15,6 +15,7 @@ function($uibModal , $q , egCore , egConfirmDialog , egAlertDialog) { return $uibModal.open({ templateUrl : './circ/share/t_abort_transit_dialog', + backdrop: 'static', controller : ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { diff --git a/Open-ILS/web/js/ui/default/staff/circ/transits/list.js b/Open-ILS/web/js/ui/default/staff/circ/transits/list.js index 9fb8a974e5..47789ae16c 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/transits/list.js +++ b/Open-ILS/web/js/ui/default/staff/circ/transits/list.js @@ -97,6 +97,7 @@ function($scope , $q , $routeParams , $window , egCore , egTransits , egGridData // FIXME what follows ought to be refactored into a factory return $uibModal.open({ templateUrl: './cat/catalog/t_add_to_bucket', + backdrop: 'static', animation: true, size: 'md', controller: diff --git a/Open-ILS/web/js/ui/default/staff/offline.js b/Open-ILS/web/js/ui/default/staff/offline.js index 8c75f149d5..bf2212edb2 100644 --- a/Open-ILS/web/js/ui/default/staff/offline.js +++ b/Open-ILS/web/js/ui/default/staff/offline.js @@ -1782,6 +1782,7 @@ function($scope , $routeParams , $q , $uibModal , $window , egCore , $scope.cards_dialog = function() { $uibModal.open({ templateUrl: './circ/patron/t_patron_cards_dialog', + backdrop: 'static', controller: ['$scope','$uibModalInstance','cards','perms', function($scope , $uibModalInstance , cards , perms) { @@ -1858,6 +1859,7 @@ function($scope , $routeParams , $q , $uibModal , $window , egCore , $scope.secondary_groups_dialog = function() { $uibModal.open({ templateUrl: './circ/patron/t_patron_groups_dialog', + backdrop: 'static', controller: ['$scope','$uibModalInstance','linked_groups','pgt_depth', function($scope , $uibModalInstance , linked_groups , pgt_depth) { diff --git a/Open-ILS/web/js/ui/default/staff/serials/directives/mfhd_manager.js b/Open-ILS/web/js/ui/default/staff/serials/directives/mfhd_manager.js index c754cf8e38..b34caccb9d 100644 --- a/Open-ILS/web/js/ui/default/staff/serials/directives/mfhd_manager.js +++ b/Open-ILS/web/js/ui/default/staff/serials/directives/mfhd_manager.js @@ -49,6 +49,7 @@ function($scope , $q , egSerialsCoreSvc , egCore , egGridDataProvider , } $uibModal.open({ templateUrl: './share/t_edit_mfhd', + backdrop: 'static', size: 'lg', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { diff --git a/Open-ILS/web/js/ui/default/staff/serials/directives/prediction_manager.js b/Open-ILS/web/js/ui/default/staff/serials/directives/prediction_manager.js index d0cd44f568..6b5215f73d 100644 --- a/Open-ILS/web/js/ui/default/staff/serials/directives/prediction_manager.js +++ b/Open-ILS/web/js/ui/default/staff/serials/directives/prediction_manager.js @@ -115,8 +115,8 @@ function($scope , $q , egSerialsCoreSvc , egCore , egGridDataProvider , $scope.importScapFromBibRecord = function() { $uibModal.open({ templateUrl: './serials/t_select_pattern_dialog', - size: 'md', backdrop: 'static', + size: 'md', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.focusMe = true; @@ -170,6 +170,7 @@ function($scope , $q , egSerialsCoreSvc , egCore , egGridDataProvider , $scope.openPatternEditorDialog = function(pred, form, viewOnly) { $uibModal.open({ templateUrl: './serials/t_pattern_editor_dialog', + backdrop: 'static', size: 'lg', windowClass: 'eg-wide-modal', backdrop: 'static', diff --git a/Open-ILS/web/js/ui/default/staff/serials/directives/subscription_manager.js b/Open-ILS/web/js/ui/default/staff/serials/directives/subscription_manager.js index db0e00961e..d06765762f 100644 --- a/Open-ILS/web/js/ui/default/staff/serials/directives/subscription_manager.js +++ b/Open-ILS/web/js/ui/default/staff/serials/directives/subscription_manager.js @@ -328,6 +328,7 @@ function($scope , $q , egSerialsCoreSvc , egCore , egGridDataProvider , ).then(function(list) { $uibModal.open({ templateUrl: './serials/t_routing_list', + backdrop: 'static', controller: 'RoutingCtrl', resolve : { rowInfo : function() { diff --git a/Open-ILS/web/js/ui/default/staff/serials/services/core.js b/Open-ILS/web/js/ui/default/staff/serials/services/core.js index 5fe4756834..ccbcbb5a28 100644 --- a/Open-ILS/web/js/ui/default/staff/serials/services/core.js +++ b/Open-ILS/web/js/ui/default/staff/serials/services/core.js @@ -1053,6 +1053,7 @@ function(egCore , orderByFilter , $q , $filter , $uibModal , ngToast , egConfirm } else { last_promise = current_promise.then(function(){ return $uibModal.open({ templateUrl: './serials/t_receive_alerts', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.title = egCore.strings.CONFIRM_CHANGE_ITEMS[mode]; diff --git a/Open-ILS/web/js/ui/default/staff/services/mfhd.js b/Open-ILS/web/js/ui/default/staff/services/mfhd.js index 488b7cf570..1f973cd45c 100644 --- a/Open-ILS/web/js/ui/default/staff/services/mfhd.js +++ b/Open-ILS/web/js/ui/default/staff/services/mfhd.js @@ -11,6 +11,7 @@ function($uibModal , egCore) { service.open = function(bibId, orgId) { return $uibModal.open({ templateUrl: './share/t_mfhd_create_dialog', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.mfhd_lib = orgId ? diff --git a/Open-ILS/web/js/ui/default/staff/services/op_change.js b/Open-ILS/web/js/ui/default/staff/services/op_change.js index e7bf1aadac..5d06d71e96 100644 --- a/Open-ILS/web/js/ui/default/staff/services/op_change.js +++ b/Open-ILS/web/js/ui/default/staff/services/op_change.js @@ -18,6 +18,7 @@ function($uibModal, $interpolate, $rootScope, $q, egAuth, egStrings, egNet, ngTo service.changeOperator = function(permEvt) { return $uibModal.open({ templateUrl: './share/t_opchange', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.args = {username : '', password : '', type : 'temp'}; diff --git a/Open-ILS/web/js/ui/default/staff/services/ui.js b/Open-ILS/web/js/ui/default/staff/services/ui.js index b33358f445..b6198db427 100644 --- a/Open-ILS/web/js/ui/default/staff/services/ui.js +++ b/Open-ILS/web/js/ui/default/staff/services/ui.js @@ -312,6 +312,7 @@ function($timeout , $parse) { service.open = function(args) { return $uibModal.open({ templateUrl: './share/t_progress_dialog', + /* backdrop: 'static', */ /* allow 'cancelling' of progress dialog */ controller: ['$scope','$uibModalInstance','egProgressData', function( $scope , $uibModalInstance , egProgressData) { // Once the new modal instance is available, force- @@ -377,6 +378,7 @@ function($uibModal , $interpolate) { service.open = function(message, msg_scope) { return $uibModal.open({ templateUrl: './share/t_alert_dialog', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.message = $interpolate(message)(msg_scope); @@ -407,6 +409,7 @@ function($uibModal, $interpolate) { msg_scope = msg_scope || {}; return $uibModal.open({ templateUrl: './share/t_confirm_dialog', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.title = $interpolate(title)(msg_scope); @@ -449,6 +452,7 @@ function($uibModal, $interpolate) { service.open = function(message, promptValue, msg_scope) { return $uibModal.open({ templateUrl: './share/t_prompt_dialog', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.message = $interpolate(message)(msg_scope); @@ -491,6 +495,7 @@ function($uibModal, $interpolate) { service.open = function(message, inputList, selectedValue, msg_scope) { return $uibModal.open({ templateUrl: './share/t_select_dialog', + backdrop: 'static', controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) { $scope.message = $interpolate(message)(msg_scope); -- 2.43.2