[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] maps: Fix GeographicFeature edit data loss by propagating the current...
"Jonny Bradley \(@jonnybradley\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <699614498c916_3b186fc84874a@gitlab-sidekiq-low-urgency-cpu-bound-v2-6cdddf6d58-mwscd.mail> |
Jonny Bradley pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
a386667e by Jonny Bradley at 2026-02-18T19:26:37+00:00
[FIX] maps: Fix GeographicFeature edit data loss by propagating the current...
---
* [FIX] maps: Fix GeographicFeature edit data loss by propagating the current value in the hidden input.
Needed in Cartograf following changes in trackers since 24.x
See merge request tikiwiki/tiki!9604
- - - - -
1 changed file:
- lib/core/Tracker/Field/GeographicFeature.php
Changes:
=====================================
lib/core/Tracker/Field/GeographicFeature.php
=====================================
@@ -44,8 +44,9 @@ class Tracker_Field_GeographicFeature extends \Tracker\Field\AbstractItemField i
public function renderInput($context = [])
{
$ins_id = $this->getInsertId();
+ $value = $this->getValue();
//This input is useful for facilitating the execution of rules
- $hiddenInput = "<input type='hidden' name='$ins_id'>";
+ $hiddenInput = "<input type='hidden' name='$ins_id' value='$value'>";
$translatedText = tr("Feature cannot be set or modified through this interface.");
return $hiddenInput . $translatedText;
}
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/a386667ea7b19fc7f8285faaf9cd4a8041477f94
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/a386667ea7b19fc7f8285faaf9cd4a8041477f94
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