Changeset 85772 in spip-zone


Ignore:
Timestamp:
Oct 31, 2014, 6:12:00 PM (5 years ago)
Author:
brunobergot@…
Message:

compat jquery 1.9+ : utiliser val() au lieu de attr('value') cf http://jquery.com/upgrade-guide/1.9/#attr-versus-prop-

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/gis/trunk/saisies/carte.html

    r81060 r85772  
    222222                // geocoder si clic...
    223223                $('a##ENV{nom}_rechercher_geocodage').css("cursor","pointer").click(function(){
    224                         var address = $("#champ_#ENV{nom}_geocoder").attr("value");
     224                        var address = $("#champ_#ENV{nom}_geocoder").val();
    225225                        annuler_geocoder = 0;
    226226                        geocoder.geocode(address);
Note: See TracChangeset for help on using the changeset viewer.