From 0497765bbe835837e188016220895c088dcc55b5 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 11 Jun 2020 09:37:42 +0200 Subject: [PATCH] draft task element edit --- Theme/Backend/task-single.tpl.php | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/Theme/Backend/task-single.tpl.php b/Theme/Backend/task-single.tpl.php index 7c06d04..1e8c1ce 100755 --- a/Theme/Backend/task-single.tpl.php +++ b/Theme/Backend/task-single.tpl.php @@ -48,7 +48,7 @@ echo $this->getData('nav')->render(); ?> getData('editor')->getData('text')->render( 'task-edit', 'plain', - 'taskElementEdit', + 'taskEdit', '', '', '{/base}/api/task?id={?id}', '{/base}/api/task?id={?id}', ); ?> @@ -79,8 +79,7 @@ echo $this->getData('nav')->render(); ?> data-tpl-value="{/base}/api/task?id={?id}" data-tpl-value-path="/0/response/descriptionRaw" data-tpl-text-path="/0/response/description" - data-value="" - >getDescription(); ?> + data-value="">getDescription(); ?>
@@ -121,7 +120,7 @@ echo $this->getData('nav')->render(); ?> data-update-element=".taskElement .taskElement-content" data-tag="form" data-method="POST" - data-uri=""> + data-uri="">
@@ -156,15 +155,15 @@ echo $this->getData('nav')->render(); ?> isEditable()) : ?> @@ -188,12 +187,14 @@ echo $this->getData('nav')->render(); ?> getDescription() !== '') : ?> -
+ data-id="getId(); ?>" + data-uri="getId() .'&csrf={$CSRF}'); ?>">
@@ -206,8 +207,12 @@ echo $this->getData('nav')->render(); ?>
getDescription() !== '') : ?> -
-
getDescription(); ?>
+
+
getDescription(); ?>