diff --git a/module/tutorial/control.php b/module/tutorial/control.php index 2cf0de54cf..1e476fb96c 100644 --- a/module/tutorial/control.php +++ b/module/tutorial/control.php @@ -128,7 +128,7 @@ class tutorial extends control if(!$hasPriv && $module == 'my' && $method == 'index') $hasPriv = true; if(!$hasPriv) { - if(helper::isAjaxRequest()) return $this->send(array('result' => 'fail', 'message' => $this->lang->error->accessDenied, 'load' => array('back' => true))); + if(helper::isAjaxRequest()) return $this->send(array('result' => 'success', 'message' => $this->lang->error->accessDenied, 'load' => array('alert' => $this->lang->error->accessDenied))); return print(js::locate('back')); }