Missing bootstrap.min.js in Sitefinity CMS 10.0.6400.0

Posted by Community Admin on 04-Aug-2018 00:35

Missing bootstrap.min.js in Sitefinity CMS 10.0.6400.0

All Replies

Posted by Community Admin on 18-Mar-2017 00:00

The bootstrap.min.js is missing under ~/ResourcePackages/Bootstrap/assets/dist/js/.

It had been renamed to project.min.js in Sitefinity CMS 10.0.6400.0 (upgraded from 9.0.6220.0).

Here are two workaround soultions:

Either updating the following code to 

@Html.Script(Url.WidgetContent("Mvc/Scripts/Bootstrap/js/project.min.js"), "top", false) 

in the following two files:

~/ResourcePackages/Bootstrap/MVC/Views/Navigation/NavigationView.Horizontal.cshtml
~/ResourcePackages/Bootstrap/MVC/Views/Navigation/NavigationView.Pills.cshtml

or just copying bootstrap.min.js under ~/ResourcePackages/Bootstrap/assets/dist/js/.

Posted by Community Admin on 16-May-2017 00:00

They should really remove this reference to bootstrap.js completely.

It is the only widget in feather that still calls this manually. If you want bootstrap js to work, rather include it via grunt. If you already included bootstrap.js in say, your layout/default.cshtml, then adding this widget to a page will break all bootstrap js functionality.

So if your bootstrap javascript stopped working for some reason. Make sure that this widget isn't loading the script again.

 

 

 

This thread is closed