1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 07:36:44 +02:00

Remove number of selected rows from confirmation

This commit is contained in:
Jakub Vrana
2013-07-11 17:02:14 -07:00
parent e1ad0e4f39
commit af4269f26d
5 changed files with 7 additions and 8 deletions

View File

@@ -164,11 +164,10 @@ function select_input($attrs, $options, $value = "", $placeholder = "") {
}
/** Get onclick confirmation
* @param string JavaScript expression
* @return string
*/
function confirm($count = "") {
return " onclick=\"return confirm('" . lang('Are you sure?') . ($count ? " (' + $count + ')" : "") . "');\"";
function confirm() {
return " onclick=\"return confirm('" . lang('Are you sure?') . "');\"";
}
/** Print header for hidden fieldset (close by </div></fieldset>)