Added scrollable panel for delete dialog box.

This commit is contained in:
Endi S. Dewata authored and Adam Young committed 2011-01-24 13:32:55 -05:00
1 parent 5ef7b8adb8
commit fa5ae89d7f
5 files changed
+14 -9

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@
"header": "Logged In As"
},
"search": {
"delete_confirm": "Do you really want to delete the selected entries?",
"delete_confirm": "Are you sure you want to delete selected entries?",
"quick_links": "Quick Links",
"select_all": "Select All",
"unselect_all": "Unselect All"
+1 -1
View File
@@ -7730,7 +7730,7 @@
"header": "Logged In As"
},
"search": {
"delete_confirm": "Do you really want to delete the selected entries?",
"delete_confirm": "Are you sure you want to delete selected entries?",
"quick_links": "Quick Links",
"select_all": "Select All",
"unselect_all": "Unselect All"
+1 -1
View File
@@ -27,7 +27,7 @@
"header": "Logged In As"
},
"search": {
"delete_confirm": "Do you really want to delete the selected entries?",
"delete_confirm": "Are you sure you want to delete selected entries?",
"quick_links": "Quick Links",
"select_all": "Select All",
"unselect_all": "Unselect All"
+10 -5
View File
@@ -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) {
+1 -1
View File
@@ -94,7 +94,7 @@ class i18n_messages(Command):
"quick_links":_("Quick Links"),
"select_all":_("Select All"),
"unselect_all":_("Unselect All"),
"delete_confirm":_("Do you really want to delete the selected entries?"),
"delete_confirm":_("Are you sure you want to delete selected entries?"),
},
"details":{
"identity":_("Identity Settings"),