summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install/ui/hbac.js2
-rw-r--r--install/ui/sudo.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/install/ui/hbac.js b/install/ui/hbac.js
index b078d4286..22c0c7e1a 100644
--- a/install/ui/hbac.js
+++ b/install/ui/hbac.js
@@ -465,7 +465,7 @@ IPA.hbacrule_details_facet = function (spec) {
// check enable/disable
if (field.name == 'ipaenabledflag') {
- if (values[0] == 'FALSE') enable_operation.command.method = that.entity_name+'_disable';
+ if (values[0] == 'FALSE') enable_operation.command.method = 'disable';
enable_operation.execute = true;
continue;
}
diff --git a/install/ui/sudo.js b/install/ui/sudo.js
index e9e978be0..1b37b8488 100644
--- a/install/ui/sudo.js
+++ b/install/ui/sudo.js
@@ -481,7 +481,7 @@ IPA.sudorule_details_facet = function (spec) {
// check enable/disable
if (field.name == 'ipaenabledflag') {
- if (values[0] == 'FALSE') enable_operation.command.method = that.entity_name+'_disable';
+ if (values[0] == 'FALSE') enable_operation.command.method = 'disable';
enable_operation.execute = true;
continue;
}