Merge remote branch 'origin/master'

This commit is contained in:
Pootle server
2011-01-15 16:40:11 +01:00
2 changed files with 18 additions and 0 deletions

View File

@@ -129,6 +129,7 @@
table even when phpMyAdmin configuration storage is not active
- bug #3141327 [relation] Foreign key input options
- [export] Better handling of export to PHP array.
- rfe #3158867 [privileges] No DROP DATABASE warning if you delete a user
3.3.10.0 (not yet released)
- patch #3147400 [structure] Aria table size printed as unknown,

View File

@@ -209,6 +209,9 @@ $(document).ready(function() {
.dialog({
title: PMA_messages['strAddNewUser'],
width: 800,
// height is a workaround for this Chrome problem:
// http://bugs.jqueryui.com/ticket/4671
height: 700,
modal: true,
buttons: button_options
}); //dialog options end
@@ -440,6 +443,20 @@ $(document).ready(function() {
}) // end $.get
})// end of the paginate users table
/*
* Additional confirmation dialog after clicking
* 'Drop the databases...'
*/
$('#checkbox_drop_users_db').click(function() {
$this_checkbox = $(this);
if ($this_checkbox.is(':checked')) {
var is_confirmed = confirm(PMA_messages['strDropDatabaseStrongWarning'] + '\n' + PMA_messages['strDoYouReally'] + ' :\nDROP DATABASE');
if (! is_confirmed) {
$this_checkbox.attr('checked', false);
}
}
});
}, 'top.frame_content'); //end $(document).ready()
/**#@- */