Hello, found two issues in the Rails starter app for Metronic 8.1.7 with the initial default theme and then with jstree.
First, app/views/partials/theme-mode/_init.html.erb has a typo that causes formatting issues until the light, dark, or system theme is selected by the user.
Line 3 of the file is currently set to:var defaultThemeMode = "{% getModeDefault %}";
but needs to be set to:var defaultThemeMode = "<%= getModeDefault() %>";
Second, the jstree plugin uses four .png and two .gif files, but the current CSS file doesn't point to those files correctly.
For example, in lib/assets/plugins/custom/jstree/jstree.bundle.css:
#jstree-dnd.jstree-dnd-responsive > .jstree-ok {
background-image: url("images/jstree/40px.png");
background-position: 0 -200px;
background-size: 120px 240px;
}
#jstree-dnd.jstree-dnd-responsive > .jstree-ok {
background-image: url("
background-position: 0 -200px;
background-size: 120px 240px;
}
Hi Ian Adams,
Thank you for your feedback. Appreciate your help with suggested fixes. We will include the fix as soon as possible.
Thanks
The corrected line should read:
var defaultThemeMode = "< %= getModeDefault() % >";
(remove the space between the < and %)