From 91f679ed35841cbec2d0d79bb6e526c0ce5f5f8e Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Sun, 28 Nov 2021 08:43:16 +0100 Subject: [PATCH] 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: [