summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-06-27 16:19:14 +0200
committerPetr Vobornik <pvoborni@redhat.com>2012-06-29 11:56:29 +0200
commit5b103ca5b537a57b3352ec1d6b0b6f66ba430ec0 (patch)
treeeae1b11aada2ed2d6287842384fc4dad38f393c2
parentd46687ea91809b35b91d2127b3412679bedbcabc (diff)
downloadfreeipa.git-5b103ca5b537a57b3352ec1d6b0b6f66ba430ec0.tar.gz
freeipa.git-5b103ca5b537a57b3352ec1d6b0b6f66ba430ec0.tar.xz
freeipa.git-5b103ca5b537a57b3352ec1d6b0b6f66ba430ec0.zip
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
-rw-r--r--install/ui/dns.js2
-rw-r--r--install/ui/host.js1
-rw-r--r--install/ui/rule.js3
3 files changed, 2 insertions, 4 deletions
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);