Skip to content

Commit

Permalink
fix translation messages in lama editor
Browse files Browse the repository at this point in the history
  • Loading branch information
Sacha Trauwaen committed Mar 20, 2023
1 parent 6189762 commit 4de3b62
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions OpenContent/js/lamaengine.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ alpacaEngine.engine = function (config) {
self.rootUrl = config.appPath;
self.bootstrap = config.bootstrap;
var createEdit = config.isNew ? "create" : "edit";
self.view = "dnn-" + createEdit;
if (config.bootstrap) {
self.view = config.horizontal ? "dnnbootstrap-" + createEdit + "-horizontal" : "dnnbootstrap-" + createEdit;
}
self.view = "bootstrap4-" + createEdit;
//if (config.bootstrap) {
// self.view = config.horizontal ? "bootstrap4-" + createEdit + "-horizontal" : "dnnbootstrap-" + createEdit;
//}
if (config.bootstrap && $.fn.select2) {
$.fn.select2.defaults.set("theme", "bootstrap");
}
Expand Down

0 comments on commit 4de3b62

Please sign in to comment.