* change for webapp.

This commit is contained in:
wangyidong
2013-01-25 05:31:11 +00:00
parent cb85992f14
commit d7c1abd5f7
8 changed files with 25 additions and 28 deletions
+1 -5
View File
@@ -87,11 +87,7 @@ class webapp extends control
{
$this->webapp->update($webappID);
if(dao::isError())die(js::error(dao::getError()));
echo "<script type='text/javascript'>";
echo "var href = parent.parent.location.href;\n";
echo "parent.parent.location.href = href.indexOf('#') < 0 ? href : href.substring(0, href.indexOf('#'));";
echo "</script>";
die();
die(js::reload('parent.parent'));
}
$this->view->modules = $this->webapp->getModules();