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 #8360: Method and technique are not correctly identified leady to wrong behavior in UI (Reset, Save) #366

Conversation

VinceMacBuche
Copy link
Member

@VinceMacBuche
Copy link
Member Author

PR updated

@VinceMacBuche VinceMacBuche force-pushed the bug_8360/method_and_technique_are_not_correctly_identified_leady_to_wrong_behavior_in_ui_reset_save branch from 21b6309 to d6c9680 Compare May 24, 2016 10:02
@VinceMacBuche
Copy link
Member Author

PR updated

@VinceMacBuche VinceMacBuche force-pushed the bug_8360/method_and_technique_are_not_correctly_identified_leady_to_wrong_behavior_in_ui_reset_save branch from d6c9680 to a3d7a86 Compare May 24, 2016 10:15
// Function to use after save is done
// Update selected technique if it's still the same technique
// update technique from the tree
var saveSuccess = function(data, status, headers, config) {
// Transform back ncfTechnique to UITechnique, that will make it ok
technique = toTechUI(technique);
Copy link
Member

Choose a reason for hiding this comment

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

could you use another name ? otherwise we won't know when we are handling a techNCF or techUI

@ncharles
Copy link
Member

appart from the comment, it looks great, thank you

@VinceMacBuche
Copy link
Member Author

PR updated

@VinceMacBuche VinceMacBuche force-pushed the bug_8360/method_and_technique_are_not_correctly_identified_leady_to_wrong_behavior_in_ui_reset_save branch from a3d7a86 to e7bbaa6 Compare May 24, 2016 12:57
@ncharles
Copy link
Member

ok, merging

@ncharles ncharles merged commit e52377c into Normation:v0.x May 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants