[TikiWiki-commits] [Git][tikiwiki/tiki][28.x] [BP][FIX] tiki-tracker_view_history.php: Fix tiki-tracker_view_history ERROR
"Sammy Ndabo \(@ndabosam084\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <68b19eb834d3_2cdc8347161a@gitlab-sidekiq-low-urgency-cpu-bound-v2-7cb4b46497-g7mwb.mail> |
Sammy Ndabo pushed to branch 28.x at Tiki Wiki CMS Groupware / Tiki
Commits:
b19a224a by Sammy Ndabo at 2025-08-29T12:29:17+00:00
[BP][FIX] tiki-tracker_view_history.php: Fix tiki-tracker_view_history ERROR
---
* [FIX, ENH] api: Fix the "Content Authentication" form on Admin Content Sources
---
* [FIX, ENH] api: Fix the "Content Authentication" form on Admin Content Sources
---
* [FIX] api: Fix the "Content Authentication" form on Admin Content Sources (tiki-admin_dsn.php) so it shows what's being saved properly - note you need to not set a user here for tiki-admin_sync.php to work.
* [FIX] wikiplugin_tracker: Allow not having a preview button
See merge request tikiwiki/tiki!8451
(cherry picked from commit 8ec37ffab64e95c232fabd85998fe2b31234d2dc)
See merge request tikiwiki/tiki!8452
(cherry picked from commit b5a909269709ce22eb4e41a435f4686435d72194)
See merge request tikiwiki/tiki!8453
- - - - -
1 changed file:
- templates/tiki-admin_dsn.tpl
Changes:
=====================================
templates/tiki-admin_dsn.tpl
=====================================
@@ -210,8 +210,13 @@ $('#source-form').each(function () {
reload = function () {
$('option.added', form).remove();
$.getJSON($.service('auth_source', 'list'), function (entries) {
+ const urlParams = new URLSearchParams(window.location.search);
$.each(entries, function (k, v) {
- $(form.existing).append($('<option class="added"/>').text(v));
+ $(form.existing).append(
+ $('<option class="added"/>')
+ .text(v)
+ .prop("selected", v === urlParams.get('identifier'))
+ );
});
$(form.existing).trigger("change.select2");
@@ -238,7 +243,7 @@ $('#source-form').each(function () {
$(form.identifier).val(id);
$(form.method).val(data.method).trigger("change").trigger("change.select2");
$(form.url).val(data.url);
- $(form.user).val(data.user);
+ $(form.user).val(data.user).trigger("change.select2");
switch (data.method) {
case 'basic':
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/b19a224a8736001dffc82a9f5eee3413af786756
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/b19a224a8736001dffc82a9f5eee3413af786756
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