diff --git a/module/group/control.php b/module/group/control.php index f44fccacb6..9faf0dae9a 100644 --- a/module/group/control.php +++ b/module/group/control.php @@ -213,7 +213,7 @@ class group extends control if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError())); if($type == 'byGroup') return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => 'reload')); - if($type == 'byModule') return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => 'window.parent.location.reload()')); + if($type == 'byModule') return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => 'javascript:window.parent.location.reload()')); } if($type == 'byGroup')