More in this section

Forums / Bugs & Issues / Missing bootstrap.min.js in Sitefinity CMS 10.0.6400.0

Missing bootstrap.min.js in Sitefinity CMS 10.0.6400.0

2 posts, 0 answered
  1. Richard Lee
    Richard Lee avatar
    5 posts
    Registered:
    08 Jun 2004
    18 Mar
    Link to this post

    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/.

  2. Max
    Max avatar
    2 posts
    Registered:
    11 May 2016
    16 May in reply to Richard Lee
    Link to this post

    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.

     

     

     

2 posts, 0 answered