* ajusted layout of 'story/review'.

* added location param to the function 'closeModal' in my.js and front.class.php.
This commit is contained in:
Catouse
2014-04-28 15:27:08 +08:00
parent f4e0c5a8cb
commit 87cf62ca03
7 changed files with 82 additions and 96 deletions
+2
View File
@@ -107,6 +107,7 @@ class group extends control
{
$this->group->copy($groupID);
if(dao::isError()) die(js::error(dao::getError()));
if(isonlybody()) die(js::closeModal('parent.parent', 'this'));
die(js::locate($this->createLink('group', 'browse'), 'parent'));
}
@@ -198,6 +199,7 @@ class group extends control
if(!empty($_POST))
{
$this->group->updateUser($groupID);
if(isonlybody()) die(js::closeModal('parent.parent', 'this'));
die(js::locate($this->createLink('group', 'browse'), 'parent'));
}
$group = $this->group->getById($groupID);