[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [FIX] Get rid of the anchors auto-added to links in Tiki

"luci \(@luciash\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <698f9caf7824b_3b1858f88824@gitlab-sidekiq-low-urgency-cpu-bound-v2-7b68dd745d-vflng.mail>

luci pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki


Commits:
98fe1d08 by luci at 2026-02-13T21:42:39+00:00
[FIX] Get rid of the anchors auto-added to links in Tiki
---
* [FIX] Get rid of the anchors auto-added to links in Tiki
---
* Revert "[FIX] update collapse toggle with button tag"

This reverts commit fdb27a23c89c7c4504c21491904749691e999618.

* [FIX] remove unwanted hashtag from popover href attribute

* [FIX] update collapse toggle with button tag
This avoid unwanted anchor links on collapse toggles

See merge request tikiwiki/tiki!9343


(cherry picked from commit 4bcc181a421c760f931e15423948dfbab4619c0b)

fdb27a23 [FIX] update collapse toggle with button tag
8734ec87 [FIX] remove unwanted hashtag from popover href attribute
24029323 Revert "[FIX] update collapse toggle with button tag"

Co-authored-by: Elvis Ansima <[email protected]>

See merge request tikiwiki/tiki!9572

- - - - -


1 changed file:

- lib/jquery_tiki/tiki-jquery.js


Changes:

=====================================
lib/jquery_tiki/tiki-jquery.js
=====================================
@@ -440,7 +440,7 @@ $.fn.tiki_popover = function () {
                     $element.attr('data-bs-content', parts.join(sep));
                     // Aria-label
                     $element.attr('aria-label', parts.join(sep));
-                    $element.attr('href', $element.attr('href') + '#' + encodeURI(parts.join(sep)));
+                    $element.attr('href', $element.attr('href'));
                 }
             });
         } else {



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/98fe1d08f9129abda6b8acba7811913ec615fcf4

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