Added scrollable panel for delete dialog box.
This commit is contained in:
1 parent
5ef7b8adb8
commit
fa5ae89d7f
5 files changed
+14
-9
No files matched your search
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
@@ -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) {
|
||||
|
||||
@@ -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"),
|
||||
|
||||
Reference in new issue
Block a user