[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [FIX] Admin dashboard - Look & Feel - Layout: changed how the selected option...
"Jean-Marc Kadimba \(@jmkadimba\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <6903111f5f0c3_2ce1f64687f0@gitlab-sidekiq-low-urgency-cpu-bound-v2-7754b588dd-z6lc9.mail> |
Jean-Marc Kadimba pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki Commits: ed830c13 by Jean-Marc Kadimba at 2025-10-30T09:17:49+02:00 [FIX] Admin dashboard - Look & Feel - Layout: changed how the selected option... --- * [FIX] Admin dashboard - Look & Feel - Layout: changed how the selected option is retrieved to avoid getting a null when the field is disabled. See merge request tikiwiki/tiki!8907 (cherry picked from commit 36073ec0a7d750bf7a3dca279a538fc0a27b4928) afd98d18 [FIX] Admin dashboard - Look & Feel - Layout: changed how the selected option... Co-authored-by: Jean-Marc Kadimba <[email protected]> - - - - - 1 changed file: - admin/include_look.php Changes: ===================================== admin/include_look.php ===================================== @@ -1124,9 +1124,10 @@ function edit_custom_mode(el,id,name,icon){ var setupThemeLayouts = function (themeDropDown, optionDropDown, layoutDropDown) { themeDropDown,optionDropDown.on("change", function() { - var theme_name = themeDropDown.val(); - if (optionDropDown.val()){ - theme_name += ":" + optionDropDown.val(); + var theme_option = optionDropDown.find("option:selected").val(); + var theme_name = themeDropDown.find("option:selected").val(); + if (theme_option){ + theme_name += ":" + theme_option; } var layouts = theme_layouts[theme_name]; var current = layoutDropDown.val(); View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/ed830c1309226512a0fa2833db6c9eb7de227871 -- View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/ed830c1309226512a0fa2833db6c9eb7de227871 You're receiving this email because of your account on gitlab.com. _______________________________________________ TikiWiki-cvs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs