[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] trackers: Files field upload breakage when in inline mode, regression...

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

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


Commits:
4c3b682c by Jonny Bradley at 2026-04-03T17:41:08+01:00
[FIX] trackers: Files field upload breakage when in inline mode, regression from ffbbb9c7 since 26.x it seems

- - - - -


1 changed file:

- lib/jquery_tiki/files.js


Changes:

=====================================
lib/jquery_tiki/files.js
=====================================
@@ -83,8 +83,8 @@
             }
 
             if ($list.parents(".inline").length) {
-                var $fileInput = $list.parents(".files-field").find("> input");
-                var val = $fileInput.val();
+                const $fileInput = $list.parents(".files-field").find("> input.input");
+                let val = $fileInput.val();
                 val = val ? val + "," + fileId : fileId;
                 $fileInput.val(val);
             } else {



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/4c3b682cc9d212840bbfb7aef31ea02fff26162c

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