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

Fixes #24549: Resizing node tab in group page should stop at header #5500

Conversation

clarktsiory
Copy link
Contributor

@clarktsiory clarktsiory marked this pull request as draft March 21, 2024 10:15
@clarktsiory
Copy link
Contributor Author

Commit modified

@clarktsiory clarktsiory force-pushed the bug_24549/resizing_node_tab_in_group_page_should_stop_at_header branch from 2e10002 to 23b8e55 Compare March 21, 2024 10:57
@clarktsiory
Copy link
Contributor Author

Commit modified

@clarktsiory clarktsiory force-pushed the bug_24549/resizing_node_tab_in_group_page_should_stop_at_header branch 2 times, most recently from 95c9d04 to abac9ad Compare March 21, 2024 10:59
@clarktsiory
Copy link
Contributor Author

Commit modified

@clarktsiory
Copy link
Contributor Author

Commit modified

@clarktsiory clarktsiory force-pushed the bug_24549/resizing_node_tab_in_group_page_should_stop_at_header branch from abac9ad to f6d0c0c Compare March 21, 2024 11:01
Comment on lines 1361 to 1365
var isResizing = false,
hasHandle = false,
hasHandle = $('#drag').length > 0,
offsetBottom = 250;

$(function () {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when mutating the hasHandle inside the $(function () {}) body, it goes out of scope after execution and gets its old state back, so hasHandle was always false 😓 Damn JS...

@clarktsiory clarktsiory marked this pull request as ready for review March 21, 2024 11:06
@Normation-Quality-Assistant
Copy link
Contributor

This PR is not mergeable to upper versions.
Since it is "Ready for merge" you must merge it by yourself using the following command:
rudder-dev merge https://github.com/Normation/rudder/pull/5500
-- Your faithful QA
Kant merge: "Live your life as though your every act were to become a universal law."
(https://ci.normation.com/jenkins/job/merge-accepted-pr/82034/console)

@clarktsiory
Copy link
Contributor Author

OK, merging this PR

@clarktsiory clarktsiory merged commit e64e96c into Normation:branches/rudder/8.1 Mar 22, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants