[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [BP][FIX] Site logo preference: Handle missing galleryId parameter during file upload
"luci \(@luciash\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <69833fa9bb3e5_3b36b51047329e@gitlab-sidekiq-low-urgency-cpu-bound-v2-65d8676567-6spqc.mail> |
luci pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki
Commits:
cb0cfc2b by David Maene at 2026-02-04T12:38:12+00:00
[BP][FIX] Site logo preference: Handle missing galleryId parameter during file upload
---
* [FIX] Site logo preference: Handle missing galleryId parameter during file upload
---
* [FIX][ENH] Tiki-upload_file: update site logo when requested via update_site_logo flag
* [FIX] Handle missing galleryId parameter during file upload
See merge request tikiwiki/tiki!8808
(cherry picked from commit 137c1f217b8b03580bfcad715183d40fe21a2f66)
See merge request tikiwiki/tiki!9495
- - - - -
1 changed file:
- templates/prefs/text.tpl
Changes:
=====================================
templates/prefs/text.tpl
=====================================
@@ -18,12 +18,12 @@
</div>
{/if}
{if !empty($p.fgal_picker)}
- {$fileId = {ldelim}|cat:'fileId'|cat:{rdelim}}
+ {$fileId = "%fileId%"}
<a
class="btn btn-primary"
title="{tr}Upload image{/tr}"
href="#"
- onclick="$('#{$p.id|escape}').trigger('select'); openFgalsWindow('tiki-upload_file.php?filegals_manager={$p.id|escape}&insertion_syntax={$fileId|sefurl:display}', true);return false;"
+ onclick="$('#{$p.id|escape}').trigger('select'); openFgalsWindow('tiki-upload_file.php?filegals_manager={$p.id|escape}&insertion_syntax={$fileId|sefurl:display}&galleryId=1', true);return false;"
role="button"
>
{icon name='image'} {tr}Upload image{/tr}
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/cb0cfc2bafadcd2fbb2b27b33f099e083c7a6fdc
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/cb0cfc2bafadcd2fbb2b27b33f099e083c7a6fdc
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