Changeset 02bf56 in indico


Ignore:
Timestamp:
03/16/11 14:20:08 (2 years ago)
Author:
Adrian Moennich <jerome.ernst.monnich@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, b8c30da8ebdbdcbd675a873997cc3e95f567de49, 4287315ec967a3da168d83963c14001db8487d53
Children:
26699f
Parents:
3accc2
Message:

[FIX] Use gmap v3.3 in gecko browsers

  • prevents canvas-related error
File:
1 edited

Legend:

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

    r3accc2 r02bf56  
    1 include(location.protocol+"//maps.google.com/maps/api/js?sensor=false"); 
     1var gmapVer = ''; 
     2if(Browser.Gecko) { 
     3    // firefox/gecko has an issue with the canvas used by 3.4+: http://stackoverflow.com/q/982000/298479 
     4    gmapVer = '&v=3.3'; 
     5} 
     6include(location.protocol+"//maps.google.com/maps/api/js?sensor=false" + gmapVer); 
    27 
    38function contains(collection, item) { 
Note: See TracChangeset for help on using the changeset viewer.