fixed parent selector

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2026-07-01 09:17:38 +02:00
parent f5476d7f1c
commit aaf367480b
7 changed files with 26 additions and 12 deletions
@@ -21,7 +21,10 @@
</script>
<div class="overlay parent_selector">
<h2>{t('select a new parent for {entity}',{entity:task.name})}</h2>
<h2>
{t('select a new parent for {entity}',{entity:task.name})}
<button onclick={ev => select(null)}>{t('abort')}</button>
</h2>
{t('project')}: {project.name}
<TaskTree {tree} {select} />
</div>
+1 -1
View File
@@ -193,7 +193,7 @@
function update_parent(newVal){
select_parent = false;
update({parent_task_id:newVal.id});
if (newVal) update({parent_task_id:newVal.id});
}
function updatePermission(user_id,permission){