[TikiWiki-commits] [Git][tikiwiki/tiki][27.x] [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 <69b1a5ae16685_3b189ef821060@gitlab-sidekiq-low-urgency-cpu-bound-v2-fc764d97d-fsm86.mail>

Jonny Bradley pushed to branch 27.x at Tiki Wiki CMS Groupware / Tiki


Commits:
62ccc6ce by Jonny Bradley at 2026-03-11T17:26:03+00:00
[FIX] admin: Fix js error when layout is set by the tiki.ini


(cherry picked from commit 971b856dae051fd1e1f4a81aadff716e3180d306)

Co-authored-by: jonnybradley <[email protected]>

(cherry picked from commit 58c5b82f4cdb4a8395ad17bd9219d85f239e8ffd)

Co-authored-by: Jonny Bradley <[email protected]>
- - - - -


1 changed file:

- admin/include_look.php


Changes:

=====================================
admin/include_look.php
=====================================
@@ -1145,7 +1145,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/62ccc6cecd5db24c2ebcab3d64f0547c6dc06cc1

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/62ccc6cecd5db24c2ebcab3d64f0547c6dc06cc1
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.