diff --git a/upload/ajax.php b/upload/ajax.php index b135f6542..455aa0a27 100644 --- a/upload/ajax.php +++ b/upload/ajax.php @@ -249,6 +249,16 @@ class ajax_common $this->send(); } + /** + * Prompt for confirmation + */ + function prompt_for_confirm ($confirm_msg = 'Точно?') + { + $this->response['prompt_confirm'] = 1; + $this->response['confirm_msg'] = $confirm_msg; + $this->send(); + } + /** * Verify mod rights */