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 #11113: Save button is not disable during saving #614

Conversation

RaphaelGauthier
Copy link
Member

@@ -191,6 +191,7 @@ app.controller('ncf-builder', function ($scope, $modal, $http, $log, $location,
// Open/Close by default the Conditions box
$scope.conditionIsOpen = false;

$scope.saving = "ok";
Copy link
Member

Choose a reason for hiding this comment

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

What is the usage of $scope.saving ?

Copy link
Member

@VinceMacBuche VinceMacBuche Jul 7, 2017

Choose a reason for hiding this comment

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

Why "ok" and not false ?

Copy link
Member Author

@RaphaelGauthier RaphaelGauthier Jul 7, 2017

Choose a reason for hiding this comment

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

Oops, my bad. This line should be removed!

@RaphaelGauthier
Copy link
Member Author

Commit modified

@RaphaelGauthier RaphaelGauthier force-pushed the bug_11113/save_button_is_not_disable_during_saving branch from ab5bbc0 to c88dbc1 Compare July 7, 2017 14:29
@RaphaelGauthier
Copy link
Member Author

PR rebased

@RaphaelGauthier RaphaelGauthier force-pushed the bug_11113/save_button_is_not_disable_during_saving branch from c88dbc1 to 2750138 Compare July 27, 2017 16:18
@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 2750138 into Normation:v0.x Jul 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants