summaryrefslogtreecommitdiffstats
path: root/install/ui/widget.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-01-22 07:19:54 +0700
committerAdam Young <ayoung@redhat.com>2011-01-24 13:32:55 -0500
commitfa5ae89d7fa876cf40522ba129d5ff6b22316021 (patch)
tree289c822cb30a903bb54b83112991bf7ed489e4a5 /install/ui/widget.js
parent5ef7b8adb8b3c9436c1b353d59dd79dbe0c65606 (diff)
downloadfreeipa-fa5ae89d7fa876cf40522ba129d5ff6b22316021.tar.gz
freeipa-fa5ae89d7fa876cf40522ba129d5ff6b22316021.tar.xz
freeipa-fa5ae89d7fa876cf40522ba129d5ff6b22316021.zip
Added scrollable panel for delete dialog box.
Diffstat (limited to 'install/ui/widget.js')
-rw-r--r--install/ui/widget.js15
1 files changed, 10 insertions, 5 deletions
diff --git a/install/ui/widget.js b/install/ui/widget.js
index 576eef77b..138526fb3 100644
--- a/install/ui/widget.js
+++ b/install/ui/widget.js
@@ -1292,18 +1292,23 @@ IPA.deleter_dialog = function (spec) {
};
that.create = function() {
+
+ $('<p/>', {
+ 'text': IPA.messages.search.delete_confirm
+ }).appendTo(that.container);
+
+ var div = $('<div/>', {
+ style: 'overflow:auto; max-height: 100px'
+ }).appendTo(that.container);
+
var ul = $('<ul/>');
- ul.appendTo(that.container);
+ ul.appendTo(div);
for (var i=0; i<that.values.length; i++) {
$('<li/>',{
'text': that.values[i]
}).appendTo(ul);
}
-
- $('<p/>', {
- 'text': IPA.messages.search.delete_confirm
- }).appendTo(that.container);
};
that.open = function(container) {