This commit is contained in:
wyd621
2014-03-18 07:14:27 +00:00
parent 45b10add2b
commit 7ce1b3428d
2 changed files with 11 additions and 3 deletions
+4 -3
View File
@@ -280,12 +280,13 @@ class tree extends control
{
if($confirm == 'no')
{
echo js::confirm($this->lang->tree->confirmDelete, $this->createLink('tree', 'delete', "rootID=$rootID&moduleID=$moduleID&confirm=yes"));
exit;
die(js::confirm($this->lang->tree->confirmDelete, $this->createLink('tree', 'delete', "rootID=$rootID&moduleID=$moduleID&confirm=yes")));
}
else
{
$this->tree->delete($moduleID);
$result = $this->tree->delete($moduleID);
if(!$result) die();
die(js::reload('parent'));
}
}