[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] admin: Fix js error when layout is set by the tiki.ini

"Jonny Bradley \(@jonnybradley\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69b1a5f8dce9e_3b2b1ec1490187@gitlab-sidekiq-low-urgency-cpu-bound-v2-fc764d97d-qnr8l.mail>

Jonny Bradley pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
971b856d by jonnybradley at 2026-03-11T17:23:48+00:00
[FIX] admin: Fix js error when layout is set by the tiki.ini

- - - - -


1 changed file:

- admin/include_look.php


Changes:

=====================================
admin/include_look.php
=====================================
@@ -1144,7 +1144,7 @@ function edit_custom_mode(el,id,name,icon){
                 //try setting the option to the previously selected option and if no layout matched, set it to the SMARTY_DEFAULT_LAYOUT constant
                 layoutDropDown.val(current);
                 if (!layoutDropDown.val()){
-                    layoutDropDown.val($default_layout);
+                    layoutDropDown.val("$default_layout");
                 }
             }
             layoutDropDown.trigger("change");



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/971b856dae051fd1e1f4a81aadff716e3180d306

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/971b856dae051fd1e1f4a81aadff716e3180d306
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.