Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: a0c3a282e1f8070ddc947b6a781593fa5cdb53a6
https://github.com/tribe29/checkmk/commit/a0c3a282e1f8070ddc947b6a781593fa5…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2021-05-25 (Tue, 25 May 2021)
Changed paths:
M web/htdocs/js/modules/valuespecs.js
Log Message:
-----------
Fix ListOfStrings disabling of dropdown after new element
Notably on the ConfigHostname valuespec, that when in list of strings
the last element would stop working with select2 after selection and
creation of a new element.
Problem was during copy, it includes not only element id, but select2
has its own id, thus when new element was cloned, it included that id
and select2 disabled the previous instance.
CMK-7960
Change-Id: Ib7c7c8f1ef191832fe18edd47b15ab71dceeb9d0
Commit: 4b3c7f775a10be805c132e13400d5082addfed45
https://github.com/tribe29/checkmk/commit/4b3c7f775a10be805c132e13400d5082a…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2021-05-25 (Tue, 25 May 2021)
Changed paths:
M cmk/gui/valuespec.py
Log Message:
-----------
ListOfStrings does not require all fields sequentially filled
Previously retrieval of values would stop on first missing value of
request. Thus the user cannot leave blank entries.
For HTML inputs it was ok, because all fields would be transfered on
request, when including the dropdown autocompleters, cleared fields
are not transmitted. Thus it is better to inspect the entire request.
CMK-7960
Change-Id: I16085ef23468f4fee9aef6d1c95a93c1b5936e23
Compare:
https://github.com/tribe29/checkmk/compare/2f349b2b8b8d...4b3c7f775a10