mirror of
https://github.com/nadrad/h-m-m.git
synced 2024-06-08 03:52:12 +02:00
won't delete the node when shift+e is cancelled
This commit is contained in:
parent
6ec308ad5b
commit
a663f0b941
2
h-m-m
2
h-m-m
|
@ -1435,7 +1435,7 @@ function edit_node(&$mm, $rewrite = false)
|
||||||
$output === false
|
$output === false
|
||||||
or $output === ''
|
or $output === ''
|
||||||
)
|
)
|
||||||
&& $title === ''
|
&& $mm['nodes'][ $mm['active_node'] ]['title'] === ''
|
||||||
&& $mm['nodes'][ $mm['active_node'] ]['is_leaf']
|
&& $mm['nodes'][ $mm['active_node'] ]['is_leaf']
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue