From e70d7becc295aacdc1c90f64fe65266a8c0d0205 Mon Sep 17 00:00:00 2001
From: Petr Vobornik <pvoborni@redhat.com>
Date: Thu, 27 Nov 2014 12:47:42 +0100
Subject: [PATCH] webui: fix service unprovisioning
Missed part of field refactoring caused that service could not be unprovisioned.
https://fedorahosted.org/freeipa/ticket/4770
Reviewed-By: Martin Basti <mbasti@redhat.com>
---
install/ui/src/freeipa/service.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/install/ui/src/freeipa/service.js b/install/ui/src/freeipa/service.js
index 3e47981bdbda9cd076eab75da0f5133503af6f3d..94842a912c77a55acad9d2f0881f3ad23915f700 100644
--- a/install/ui/src/freeipa/service.js
+++ b/install/ui/src/freeipa/service.js
@@ -467,7 +467,7 @@ IPA.service.unprovision_dialog = function(spec) {
that.unprovision = function() {
var principal_f = that.facet.fields.get_field('krbprincipalname');
- var pkey = principal_f.values[0];
+ var pkey = principal_f.get_value()[0];
rpc.command({
entity: that.entity.name,
--
2.1.0