The IPA.rights_widget was fixed to invoke the base init() method
to load the i18n labels properly.

Ticket 1113

I think this patch should be added to 2.0.x because the bug is visible in plain sight and the fix is very simple.

--
Endi S. Dewata
From 5e86fdb72d3e9b4e45fbab6702a0a30fd316dc70 Mon Sep 17 00:00:00 2001
From: Endi S. Dewata <edew...@redhat.com>
Date: Mon, 21 Mar 2011 12:35:12 -0500
Subject: [PATCH] Fixed undefined label in permission adder dialog box.

The IPA.rights_widget was fixed to invoke the base init() method
to load the i18n labels properly.

Ticket 1113
---
 install/ui/aci.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/install/ui/aci.js b/install/ui/aci.js
index ea220f9af28fd908d218fb4c2583095fbb0e4ca8..bb3bcbea4ab8f48f54fb54c93d24578fc8d3d667 100644
--- a/install/ui/aci.js
+++ b/install/ui/aci.js
@@ -181,6 +181,9 @@ IPA.rights_widget = function(spec) {
     that.rights = ['write', 'add', 'delete'];
 
     that.init = function() {
+
+        that.widget_init();
+
         for (var i=0; i<that.rights.length; i++) {
             var right = that.rights[i];
             that.add_option({label: right, value: right});
-- 
1.6.6.1

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to