Explorar o código

[oozie] Kill email action is not saved

Abraham Elmahrek %!s(int64=12) %!d(string=hai) anos
pai
achega
494418b628
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apps/oozie/static/js/workflow.js

+ 1 - 1
apps/oozie/static/js/workflow.js

@@ -1040,7 +1040,7 @@ function ManageKillModule($, workflow, NodeModelChooser, Node, NodeModel) {
       workflow.registry.add(email_action.id(), email_action);
       replace_kill(email_action);
       email_enabled(true);
-    } else if (email_enabled()) {
+    } else if (!value && email_enabled()) {
       replace_email(email_action);
       email_enabled(false);
       workflow.registry.remove(email_action.id());