branch develop updated (b4287f46 -> ed340ab1)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git from b4287f46 fixes #111 Erreur pseudo trop long dans le commentaire + maxlength sur les inputs qui le requierent new ed340ab1 empécher l'alimentation auto de l'input robot par le navigateur (ref #110) The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit ed340ab1ab325652429031349a91fa6c8e06e8f7 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Fri Aug 4 15:31:39 2017 +0200 empécher l'alimentation auto de l'input robot par le navigateur (ref #110) Summary of changes: pollen-ui-riot-js/src/main/web/tag/components/HumanInput.tag.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit ed340ab1ab325652429031349a91fa6c8e06e8f7 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Fri Aug 4 15:31:39 2017 +0200 empécher l'alimentation auto de l'input robot par le navigateur (ref #110) --- pollen-ui-riot-js/src/main/web/tag/components/HumanInput.tag.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pollen-ui-riot-js/src/main/web/tag/components/HumanInput.tag.html b/pollen-ui-riot-js/src/main/web/tag/components/HumanInput.tag.html index 4e479a12..9e85e4f9 100644 --- a/pollen-ui-riot-js/src/main/web/tag/components/HumanInput.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/components/HumanInput.tag.html @@ -1,5 +1,6 @@ <HumanInput> <input type="text" + autocomplete="off" id="pollenInput" name="pollenInput" ref="pollenInput"/> @@ -7,11 +8,11 @@ <script type="es6"> this.check = e => { + e.preventDefault(); + e.stopPropagation(); if (this.refs.pollenInput.value.length === 0) { return this.opts.onsubmit(e); } - e.preventDefault(); - e.stopPropagation(); this.logger.warn("You are a Robot !!!"); return false; }; -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm