From 9df456c7c140beed6d0b0d476b4f7a4bf0e4932d Mon Sep 17 00:00:00 2001 From: Laura Carvajal Date: Tue, 25 Oct 2016 07:59:49 +0100 Subject: [PATCH] hide-elements and placeholders --- route/new.js | 4 ++-- view/new.html | 2 +- view/task/edit.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/route/new.js b/route/new.js index deee01a..a5c9f26 100644 --- a/route/new.js +++ b/route/new.js @@ -53,9 +53,9 @@ function route(app) { timeout: req.body.timeout || undefined, wait: req.body.wait || undefined, username: req.body.username || undefined, - password: req.body.password || undefined + password: req.body.password || undefined, headers: parsedHeaders || undefined, - hideElements: req.body.hide || undefined + hideElements: req.body['hide-elements'] || undefined }; app.webservice.tasks.create(newTask, (err, task) => { diff --git a/view/new.html b/view/new.html index 14a0918..a6a4d60 100644 --- a/view/new.html +++ b/view/new.html @@ -106,7 +106,7 @@ along with Pa11y Dashboard. If not, see .
- +
diff --git a/view/task/edit.html b/view/task/edit.html index f6cc827..fa2fa29 100644 --- a/view/task/edit.html +++ b/view/task/edit.html @@ -118,7 +118,7 @@ along with Pa11y Dashboard. If not, see .
- +