From 9a80e88553284b3e4fe7c8f9ca44e75cafdcd2a2 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Sun, 28 Nov 2021 08:42:48 +0100 Subject: [PATCH 1/2] get bootbox --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 6145ac223..cf8485b8a 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "dependencies": { "@coreui/coreui": "^3.3.0", "@ttskch/select2-bootstrap4-theme": "^1.5.2", + "bootbox": "^5.5.2", "bootstrap": "^4.5.2", "bootstrap-datepicker": "^1.9.0", "chartjs": "^0.3.24", From 91f679ed35841cbec2d0d79bb6e526c0ce5f5f8e Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Sun, 28 Nov 2021 08:43:16 +0100 Subject: [PATCH 2/2] install bootbox 5 --- Gruntfile.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 39fe99ba5..bd277c831 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,7 +1,10 @@ module.exports = function (grunt) { 'use strict'; - var bootstrapDir = 'views/bootstrap/vendors', + // if you set bootstrapDir to views/bootstrap/vendors then make sure + // bootbox is not installed, because version 5 of bootbox will not work + // with bootstrap 2 + var bootstrapDir = 'views/bootstrap4/vendors', tdkDir = 'views/tdk/vendors', nodeDir = 'node_modules'; @@ -113,6 +116,13 @@ module.exports = function (grunt) { ], dest: bootstrapDir + '/jquery-typeahead', flatten: true + },{ + expand: true, + src: [ + nodeDir + '/bootbox/dist/*' + ], + dest: bootstrapDir + '/bootbox', + flatten: true },{ expand: true, src: [