From 71e6c1b1c30f990cfa1d8af11147272dde320340 Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Sun, 29 Dec 2019 16:15:13 +1100 Subject: [PATCH] Remove layer of abstraction in demo Old code was better for learning. This seems related to some CSRF checks that were tested a while ago and have since been rolled back Rollback c87e6545a9d8c595625eec1d2dcba03fbe6939a9 --- plugins/october/demo/components/todo/default.htm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/plugins/october/demo/components/todo/default.htm b/plugins/october/demo/components/todo/default.htm index e30428c8e..722b11edf 100644 --- a/plugins/october/demo/components/todo/default.htm +++ b/plugins/october/demo/components/todo/default.htm @@ -1,8 +1,9 @@ -{{ form_ajax(__SELF__ ~ '::onAddItem', { - update: "'" ~ __SELF__ ~ "::list': '#result'", - success: "$('#input-item').val('')", - 'data-request-flash': '' -}) }} +

To Do List

@@ -18,4 +19,4 @@
-{{ form_close() }} +