Fetch template length message as user types

This commit adds some Javascript that makes AJAX requests as the users
changes the content of their template.

It then takes the content returned by the backend and inserts it in the
page.
This commit is contained in:
Chris Hill-Scott
2021-01-06 17:32:46 +00:00
parent ca50d77ac2
commit 3fdaa29f35
6 changed files with 201 additions and 1 deletions

View File

@@ -177,6 +177,7 @@ const javascripts = () => {
paths.src + 'javascripts/templateFolderForm.js',
paths.src + 'javascripts/collapsibleCheckboxes.js',
paths.src + 'javascripts/radioSlider.js',
paths.src + 'javascripts/updateStatus.js',
paths.src + 'javascripts/main.js',
])
.pipe(plugins.prettyerror())