Merge branch 'issue73' into 'k-fet'

Fix (théorique) autocomplétion sur mobile

D'après
https://groups.google.com/a/chromium.org/d/msg/chromium-bugs/08KdqaHAhsY/DD8uqKDz01AJ

See merge request !82
This commit is contained in:
Aurélien Delobelle 2016-09-23 01:47:28 +02:00
commit fc90ab1379

View file

@ -120,7 +120,7 @@
<button role="button" class="btn" id="ask_addcost">Major.</button> <button role="button" class="btn" id="ask_addcost">Major.</button>
</div> </div>
<div id="article_selection"> <div id="article_selection">
<input type="text" id="article_autocomplete"> <input type="text" id="article_autocomplete" autocomplete="off">
<input type="number" id="article_number" step="1" min="1"> <input type="number" id="article_number" step="1" min="1">
<input type="hidden" id="article_id" value=""> <input type="hidden" id="article_id" value="">
</div> </div>
@ -720,7 +720,6 @@ $(document).ready(function() {
// Sélection des articles à la souris/tactile // Sélection des articles à la souris/tactile
articles_container.on('click', '.article', function() { articles_container.on('click', '.article', function() {
console.log('1');
articleId.val(getArticleId($(this))); articleId.val(getArticleId($(this)));
articleSelect.val(getArticleName($(this))); articleSelect.val(getArticleName($(this)));
displayMatchedArticles(articlesList); displayMatchedArticles(articlesList);