summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-08-15 09:13:13 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-08-15 14:44:10 +0000
commit0fcc752f86f1cc0e0501b7c8d7b4186fbe160b4a (patch)
tree665e364f2032fae55a5f7239887e066f1b5d3725
parentf7067a1f083162bffd4e9c1fe8ba97f222787c25 (diff)
downloadfreeipa-0fcc752f86f1cc0e0501b7c8d7b4186fbe160b4a.zip
freeipa-0fcc752f86f1cc0e0501b7c8d7b4186fbe160b4a.tar.gz
freeipa-0fcc752f86f1cc0e0501b7c8d7b4186fbe160b4a.tar.xz
Fixed problem with buttons in enrollment dialog.
The panel for selection buttons (i.e. ">>" and "<<") has been re- positioned to avoid being covered by the adder-dialog-right panel. Ticket #1626
-rw-r--r--install/ui/dialog.js40
1 files changed, 20 insertions, 20 deletions
diff --git a/install/ui/dialog.js b/install/ui/dialog.js
index 5d0ce14..3513f0c 100644
--- a/install/ui/dialog.js
+++ b/install/ui/dialog.js
@@ -431,26 +431,6 @@ IPA.adder_dialog = function (spec) {
that.available_table.create(available_content);
- var buttons_panel = $('<div/>', {
- name: 'buttons',
- 'class': 'adder-dialog-buttons'
- }).appendTo(container);
-
- var p = $('<p/>').appendTo(buttons_panel);
- $('<input />', {
- type: 'button',
- name: 'remove',
- value: '<<'
- }).appendTo(p);
-
- p = $('<p/>').appendTo(buttons_panel);
- $('<input />', {
- type: 'button',
- name: 'add',
- value: '>>'
- }).appendTo(p);
-
-
var right_panel = $('<div/>', {
'class': 'adder-dialog-right'
}).appendTo(container);
@@ -472,6 +452,26 @@ IPA.adder_dialog = function (spec) {
that.selected_table.create(selected_content);
+ var buttons_panel = $('<div/>', {
+ name: 'buttons',
+ 'class': 'adder-dialog-buttons'
+ }).appendTo(container);
+
+ var p = $('<p/>').appendTo(buttons_panel);
+ $('<input />', {
+ type: 'button',
+ name: 'remove',
+ value: '<<'
+ }).appendTo(p);
+
+ p = $('<p/>').appendTo(buttons_panel);
+ $('<input />', {
+ type: 'button',
+ name: 'add',
+ value: '>>'
+ }).appendTo(p);
+
+
that.filter_field = $('input[name=filter]', that.container);
var button = $('input[name=find]', that.container);