[Pcsclite-git-commit] [website] 04/07: Reader selection: approximative match for iProduct and iInterface

Ludovic Rousseau rousseau at moszumanska.debian.org
Sat Oct 17 17:42:25 UTC 2015


This is an automated email from the git hooks/post-receive script.

rousseau pushed a commit to branch master
in repository website.

commit 510b5cba0dee70b2af09c88e06f0f0227fd32364
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date:   Fri Oct 16 22:03:47 2015 +0200

    Reader selection: approximative match for iProduct and iInterface
    
    iProduct and iInterface fields are text fields as iManufacturer.
    We now also allow the ~ operator
---
 select_readers/js/main.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/select_readers/js/main.js b/select_readers/js/main.js
index 1f04b30..9d21b3e 100644
--- a/select_readers/js/main.js
+++ b/select_readers/js/main.js
@@ -327,8 +327,8 @@ function update_filters_ihm() {
             html += '<div class="input-group-btn">';
             html += '<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false" id="relation_' + f + '">AAA</button>';
             html += '<ul class="dropdown-menu" role="menu">';
-            if (Filter[f][0] === 'iManufacturer') {
-                // iManufacturer: un match approximatif
+            if (Filter[f][0] === 'iManufacturer' || Filter[f][0] === 'iProduct' || Filter[f][0] === 'iInterface') {
+                // iFoo: approximative match
                 html += ' <li><a href="#">~ </a></li>';
             }
             html += ' <li><a href="#">= </a></li>';

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/website.git



More information about the Pcsclite-cvs-commit mailing list