diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-06-07 20:48:20 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-06-13 09:23:29 -0400 |
commit | 9704adfe44c915de97f416c18bcaeabea2c927ba (patch) | |
tree | 92fc1e3eb8d3c4816c88750facedd52511ff7ea9 /install/ui/associate.js | |
parent | d2b483cbb3ca15a68115cf32cfaf89572259914e (diff) | |
download | freeipa.git-9704adfe44c915de97f416c18bcaeabea2c927ba.tar.gz freeipa.git-9704adfe44c915de97f416c18bcaeabea2c927ba.tar.xz freeipa.git-9704adfe44c915de97f416c18bcaeabea2c927ba.zip |
Fixed resizing issues.
The UI has been modified to fix some resizing issues:
Previously the height of facet content was roughly calculated using
resize(). Now the height can be more accurately defined in CSS.
Previously the UI width was fixed. The HTML layout and background
images have been modified to support horizontal expansion if needed.
Diffstat (limited to 'install/ui/associate.js')
-rw-r--r-- | install/ui/associate.js | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/install/ui/associate.js b/install/ui/associate.js index f7ac1505..c1e0b429 100644 --- a/install/ui/associate.js +++ b/install/ui/associate.js @@ -717,10 +717,6 @@ IPA.association_facet = function (spec) { that.columns.put(column.name, column); }; - that.resize = function(){ - that.table.resize(); - }; - that.create_column = function(spec) { var column = IPA.column(spec); if (spec.link_entity){ @@ -769,6 +765,7 @@ IPA.association_facet = function (spec) { that.table = IPA.table_widget({ id: that.entity_name+'-'+that.other_entity, + 'class': 'content-table', name: pkey_name, label: label, entity_name: that.entity_name, @@ -863,18 +860,8 @@ IPA.association_facet = function (spec) { that.create_content = function(container) { - var span = $('<span/>', { 'name': 'association' }).appendTo(container); - - that.table.create(span); - }; - - that.setup = function(container) { - - that.facet_setup(container); - - var span = $('span[name=association]', that.container); - - that.table.setup(span); + that.table.create(container); + that.table.setup(container); }; that.show = function() { |