From 5b103ca5b537a57b3352ec1d6b0b6f66ba430ec0 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Wed, 27 Jun 2012 16:19:14 +0200 Subject: Continuation of removing of not supported command options from Web UI This patch removes following non-existing command options: * all,rights in host_disable * record_type in dns_record_add * all,rights in various xxx_remove_xxx commands used in rule_association_table_field (removing association) https://fedorahosted.org/freeipa/ticket/2878 --- install/ui/dns.js | 2 +- install/ui/host.js | 1 - install/ui/rule.js | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) (limited to 'install') diff --git a/install/ui/dns.js b/install/ui/dns.js index 183bf67d..492d8c4f 100644 --- a/install/ui/dns.js +++ b/install/ui/dns.js @@ -1042,7 +1042,7 @@ IPA.dns.record_entity = function(spec) { { name: 'record_type', type: 'dnsrecord_type', - enabled: false, + flags: ['no_command'], widget: 'general.record_type' } ], diff --git a/install/ui/host.js b/install/ui/host.js index c53ba053..cea2019b 100644 --- a/install/ui/host.js +++ b/install/ui/host.js @@ -648,7 +648,6 @@ IPA.host_unprovision_dialog = function(spec) { entity: that.entity.name, method: 'disable', args: pkey, - options: { all: true, rights: true }, on_success: on_success, on_error: on_error }); diff --git a/install/ui/rule.js b/install/ui/rule.js index b7e6a74a..dfe710b9 100644 --- a/install/ui/rule.js +++ b/install/ui/rule.js @@ -209,8 +209,7 @@ IPA.rule_association_table_field = function(spec) { var command = IPA.command({ entity: that.entity.name, method: that.widget.remove_method, - args: that.entity.get_primary_key(), - options: {all: true, rights: true} + args: that.entity.get_primary_key() }); command.set_option(that.widget.other_entity.name, values); -- cgit