Changeset 5262


Ignore:
Timestamp:
05/22/14 10:03:17 (10 years ago)
Author:
Twan Goosen
Message:

Merged fix of #561 to 3.0 branch

Location:
vlo/branches/vlo-3.0
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/vlo-3.0

  • vlo/branches/vlo-3.0/CHANGES

    r5255 r5262  
    44* DC-3786 (application type) was added to facet 'resourceClass'
    55        <https://trac.clarin.eu/ticket/195>
     6* Fixed highlighting of search terms that contain unicode characters
     7        <https://trac.clarin.eu/ticket/561>
     8* Renamed 'permalink' to 'link'
    69
    710VLO 3.0 (May 2014)
  • vlo/branches/vlo-3.0/vlo-web-app

  • vlo/branches/vlo-3.0/vlo-web-app/src/main/js/eu/clarin/cmdi/vlo/wicket/pages/searchhi.js

    r5163 r5262  
    66 http://www.woolyss.free.fr/js/searchhi_Woolyss.js and say when not found */
    77/* Modified 20120112 to use the URL instead of referrer */
     8/* Modified 20140522 <twan@clarin.eu> replaced unescape() with decodeURIComponent() */
    89
    910searchhi = {
     
    6667                continue;
    6768            if (qsip[0] == 'q' || qsip[0] == 'p') { // q= for Google, p= for Yahoo
    68                 var wordstring = unescape(qsip[1].replace(/\+/g, ' '));
     69                var wordstring = decodeURIComponent(qsip[1].replace(/\+/g, ' '));
    6970                searchhi.process(wordstring);
    7071            }
Note: See TracChangeset for help on using the changeset viewer.