From aeb6f7416172de5bad4b5f158c1166e5b5d0aae1 Mon Sep 17 00:00:00 2001 From: nanosimbiot Date: Wed, 29 Jun 2011 17:33:59 +0000 Subject: [PATCH] r46 git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@46 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293 --- upload/ajax.php | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 */