Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-6135

Jquery.Autocomplete can't trigger by Chinese


    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.1.4
    • Fix Version/s: 3.2
    • Component/s: None
    • Labels:


      After tracing. There are two part of this problem.

      First is abuot jquery.autocomplete, fixed by patch. Jquery.autocomplete is just a setting problem.
      Can be reproduce in New Contribution page: http://<site>/civicrm/contribute/add&reset=1&action=add&context=standalone
      We need only 1 character to trigger the search, but the settings in template set minimal char by 2! That's why when we enter the first name(only one char), then nothing happened. Only we enter first name then type comma "," will trigger the search.
      The patch of templates/CRM/Contact/Form/NewContact.tpl is in attachment. Still need to find out if there are more bugs in settings for jquery.autocomplete.

      Second is about jquery.tokeninput. Didn't look around what's happened there.
      Can be reproduce in New Contact Email page: http://<site>/civicrm/activity/add&atype=3&action=add&reset=1&context=standalone
      We believe it have problem on keyDown. Still need to work there, and need to config for trigger by 1 char.


        1. autocomplete.ff-linux.txt
          0.5 kB
          Mathieu Petit-Clair
        2. civicrm-3.1.4-chinese-0425.patch
          3 kB
          Jimmy Huang
        3. civicrm-ajax-minChar-fix.patch
          5 kB
          Jimmy Huang
        4. jquery.tokeninput.js.patch
          0.4 kB
          Jimmy Huang
        5. NewContact.tpl.patch
          0.5 kB
          Jimmy Huang

          Issue Links



              • Assignee:
                priya Priya Prajapati
                jimyhuang Jimmy Huang
              • Votes:
                0 Vote for this issue
                0 Start watching this issue


                • Created: