[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] File galleries: fix duplicate item in browse view, stuck download...

"ushindi bienvenu \(@usbbush\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6a955329ce5cc_3818e304507b0@gitlab-sidekiq-low-urgency-cpu-bound-v2-55667cdfbd-bj4sf.mail>

ushindi bienvenu pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
13e144e1 by UshindiG at 2026-08-31T09:55:30+00:00
[FIX] File galleries: fix duplicate item in browse view, stuck download...
---
* [FIX] File galleries: fix duplicate item in browse view, stuck download dialog, and duplicate close icon

See merge request tikiwiki/tiki!11093

- - - - -


3 changed files:

- lib/core/Services/File/FinderController.php
- themes/base_files/scss/_tiki-selectors.scss
- tiki-list_file_gallery.php


Changes:

=====================================
lib/core/Services/File/FinderController.php
=====================================
@@ -224,6 +224,12 @@ class Services_File_FinderController
                     }
                 }
 
+                $cpath = $input->cpath->text();
+                $reqid = $input->reqid->text();
+                if ($cpath && $reqid) {
+                    setcookie('elfdl' . $reqid, '1', 0, urlencode($cpath));
+                }
+
                 TikiLib::lib('access')->redirect($url);
                 return [];
             }


=====================================
themes/base_files/scss/_tiki-selectors.scss
=====================================
@@ -1004,10 +1004,13 @@ span.plugin-mouseover {
     border-color: $dark !important;
     color: $dark !important;
 }
+.tiki .ui-dialog-titlebar-close .ui-icon {
+    display: none;
+}
 .tiki .ui-dialog-titlebar-close::before {
     content: 'X';
     position: relative;
-    top: -3px;
+    top: 0;
     font-weight: bold;
 }
 


=====================================
tiki-list_file_gallery.php
=====================================
@@ -1320,6 +1320,7 @@ if (isset($_GET['slideshow'])) {
                         }
                     }
                 }
+                unset($file);
             }
 
             $smarty->assign_by_ref('files', $files['data']);



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/13e144e1e1c61aed2a16cabf3b5c7c68b39d45ee

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