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: [ diff --git a/package.json b/package.json index aacb9a7b7..aa7c2d000 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",