Skip to content

Commit

Permalink
* Fix delete node fail.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoke committed Feb 15, 2023
1 parent 807971c commit eee007f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions module/zanode/control.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,7 @@ public function destroy($nodeID, $confirm = 'no')
}
else
{
if(isonlybody()) return print(js::alert($this->lang->zanode->actionSuccess) . js::reload('parent.parent'));
return print(js::alert($this->lang->zanode->actionSuccess) . js::locate($this->createLink('zanode', 'browse'), 'parent'));
return print(js::alert($this->lang->zanode->actionSuccess) . js::locate($this->createLink('zanode', 'browse'), 'parent.parent'));
}
}

Expand Down

0 comments on commit eee007f

Please sign in to comment.