function ajax_save_bucket()
{
$this->verify_ajax_request();
$bucket = $this->ajax_check_bucket();
$manual = false;
// are we inputting the bucket manually?
if (isset($_POST['action']) && false !== strpos($_POST['action'], 'manual-save-bucket')) {
$manual = true;
}
$this->save_bucket_for_ajax($bucket, $manual);
}