Skip to content

Commit

Permalink
Merge branch 'zenops_61' into 'master'
Browse files Browse the repository at this point in the history
* Fix delete node fail.

See merge request easycorp/zentaopms!6967
  • Loading branch information
胡方舟 committed Feb 16, 2023
2 parents 3a6bca8 + eee007f commit d2de5ab
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 d2de5ab

Please sign in to comment.