[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Remove redundant file upload field in File Gallery edit mode
"ushindi bienvenu \(@usbbush\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <6a2c24f022d08_38196360-37a@gitlab-sidekiq-low-urgency-cpu-bound-v2-7d6b59568b-67mck.mail> |
ushindi bienvenu pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
386b6602 by NasserNgandu at 2026-06-12T15:06:37+00:00
[FIX] Remove redundant file upload field in File Gallery edit mode
---
* [FIX] When modifying a file in the File Gallery, we have the field to re-upload the file and below it the field to upload the file, even though the latter should not appear.
See merge request tikiwiki/tiki!9970
- - - - -
1 changed file:
- templates/tiki-upload_file.tpl
Changes:
=====================================
templates/tiki-upload_file.tpl
=====================================
@@ -417,7 +417,7 @@
{/if}
<input type="hidden" name="galleryId[]" value="{$galleryId}">
{/if}
- {if $prefs.elementplus_upload eq 'y'}
+ {if $prefs.elementplus_upload eq 'y' && ! $editFileId}
<div class="mb-3 row">
<tiki-el-file-gal-uploader id="uploader" accept="{$allowedMimeTypes}" max-size="{$max_upload_size}" max-files="{$max_file_uploads}" max-width="{if isset($gal_info.image_max_size_x)}{$gal_info.image_max_size_x}{/if}" max-height="{if isset($gal_info.image_max_size_y)}{$gal_info.image_max_size_y}{/if}" />
</div>
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/386b660262a688d397a5c6ac04eaa116afe07059
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/386b660262a688d397a5c6ac04eaa116afe07059
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