From d8f8613e99f241507b7cbcb9b573d18697796b94 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Fri, 23 Sep 2011 17:49:46 +0200 Subject: Fixed: Column header for attributes table should be full width https://fedorahosted.org/freeipa/ticket/1841 The column header for the attributes table (IPA.attributes_widget) does not cover the entire width of the table. This problem appears in the adder dialog and details page for permissions, self-service permissions, and delegations. --- install/ui/aci.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'install/ui/aci.js') diff --git a/install/ui/aci.js b/install/ui/aci.js index 929e13d4..fc62f277 100644 --- a/install/ui/aci.js +++ b/install/ui/aci.js @@ -248,7 +248,7 @@ IPA.attributes_widget = function(spec) { that.table = $('', { id:id, - 'class':'search-table aci-attribute-table' + 'class':'search-table aci-attribute-table scrollable' }). append(''). append(''). @@ -257,10 +257,9 @@ IPA.attributes_widget = function(spec) { var tr = $('').appendTo($('thead', that.table)); tr.append($('
', { - style:"height:2em; vertical-align:bottom;", - html:$('',{ + html: $('', { type: "checkbox", - click: function(){ + click: function() { $('.aci-attribute', that.table). attr('checked', $(this).attr('checked')); that.set_dirty(that.test_dirty()); @@ -275,7 +274,7 @@ IPA.attributes_widget = function(spec) { that.create_undo(container); } - if (that.object_type){ + if (that.object_type) { that.populate(that.object_type); } }; -- cgit