Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JENKINS-72196] avoid wrong styling when deleting the first of 2 shell steps #8739

Merged
merged 1 commit into from
Dec 4, 2023

Commits on Dec 2, 2023

  1. move link elements to head

    fixes JENKINS-72196 when in a form there are repeatables that both
    contain a codemirror config via a textarea. When deleting the first
    of those it can happen that the link elements importing the css for
    codemirror are defined in a div that gets deleted. This effectively
    removes the css from the DOM tree, so that other textareas afterwards
    that also require the codemirror css are no longer styled properly.
    
    The Behaviour uses a high negative value for the priority so that the
    move of the link elements is applied before any other behaviour jumps
    in, e.g. hetero-list and repeatable add the elements to the dom via
    jelly of all things can that can be added and later remove them from the
    dom and keep them in memory.
    mawinter69 committed Dec 2, 2023
    Configuration menu
    Copy the full SHA
    80c2695 View commit details
    Browse the repository at this point in the history