Changeset c31158 in indico


Ignore:
Timestamp:
03/24/11 11:24:10 (2 years ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, d9941f8582b36b24821a11ea5ba16fda6a457fb1
Children:
d3adf1
Parents:
986f31
Message:

[FIX] Sub-expression matching in Room Map

File:
1 edited

Legend:

Unmodified
Added
Removed
  • indico/htdocs/js/indico/RoomBooking/MapOfRooms.js

    rbb29fc rc31158  
    561561                return function(obj) { 
    562562                    // search for substring in the string 
    563                     return contains(obj[propertyName], indexOf(expectedValue)); 
     563                    return str(obj[propertyName]).match(new RegExp(expectedValue, "gi")); 
    564564                } 
    565565            } else { 
Note: See TracChangeset for help on using the changeset viewer.