Changeset 7141


Ignore:
Timestamp:
Oct 9, 2010, 11:20:14 PM (14 years ago)
Author:
grum
Message:

fix js&css bugs with IE8

Location:
extensions/GMaps
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • extensions/GMaps/admin/gmaps_category_maps.tpl

    r7139 r7141  
    488488              <select id='iBDAssocIcon'>
    489489                  {foreach from=$datas.icons item=icon}
    490                     <option style='background-image:url(plugins/GMaps/img/{$icon.file});' value='{$icon.file}'></option>
     490                    <option style='background-image:url(plugins/GMaps/img/{$icon.file});' value='{$icon.file}'>&nbsp;</option>
    491491                  {/foreach}
    492492              </select>
     
    501501              <select id='iBDAssocMarker'>
    502502                  {foreach from=$datas.markers item=marker}
    503                     <option style='background-image:url(plugins/GMaps/img/{$marker.file});' value='{$marker.file}'></option>
     503                    <option style='background-image:url(plugins/GMaps/img/{$marker.file});' value='{$marker.file}'>&nbsp;</option>
    504504                  {/foreach}
    505505              </select>
  • extensions/GMaps/gmaps.css

    r7139 r7141  
    9898  width:40px;
    9999}
     100
     101// fix IE8 compatibility bugs from GPC 3.2.0 (fixed in next release)
     102.formtable, .formtable P { margin-left:0px;  }
     103.tabsheet2 { list-style:none; }
  • extensions/GMaps/js/gmapsCategory.js

    r7139 r7141  
    446446
    447447      $('div.gmapsPopup div.ui-dialog-titlebar')
    448       .append('<a href="" id="gmapsBoundMap" style="display:none;" onclick="gmaps.maps[gmaps.currentMapLoadIndex].gMap.fitBounds(gmaps.bounds); $(this).css(\'display\', \'none\').blur(); return(false);">'+
     448      .append('<a href="#" id="gmapsBoundMap" style="display:none;" onclick="gmaps.maps[gmaps.currentMapLoadIndex].gMap.fitBounds(gmaps.bounds); $(this).css(\'display\', \'none\').blur(); return(false);">'+
    449449              '<span>&there4;</span></a>');
    450450      $('#gmapsBoundMap').attr('title', gmaps.lang.boundmap);
     
    453453      {
    454454        $('div.gmapsPopup div.ui-dialog-titlebar')
    455           .append('<a href="" id="gmapsBoundKml" onclick="gmaps.maps[gmaps.currentMapLoadIndex].gMap.fitBounds(gmaps.maps[gmaps.currentMapLoadIndex].gMap.kmlFile.getDefaultViewport()); $(this).css(\'display\', \'none\').blur(); return(false);">'+
     455          .append('<a href="#" id="gmapsBoundKml" onclick="gmaps.maps[gmaps.currentMapLoadIndex].gMap.fitBounds(gmaps.maps[gmaps.currentMapLoadIndex].gMap.kmlFile.getDefaultViewport()); $(this).css(\'display\', \'none\').blur(); return(false);">'+
    456456                  '<span>&sim;</span></a>');
    457457        $('#gmapsBoundKml').attr('title', gmaps.lang.boundkml);
  • extensions/GMaps/js/gmapsPicture.js

    r7139 r7141  
    194194
    195195      $('div.gmapsPopup div.ui-dialog-titlebar')
    196       .append('<a href="" id="gmapsCenterMap" style="display:none;" onclick="gmaps.maps[gmaps.currentMapLoadIndex].gMap.setCenter(gmaps.maps[gmaps.currentMapLoadIndex].gMapCenter); $(this).css(\'display\', \'none\').blur(); return(false);">'+
     196      .append('<a href="#" id="gmapsCenterMap" style="display:none;" onclick="gmaps.maps[gmaps.currentMapLoadIndex].gMap.setCenter(gmaps.maps[gmaps.currentMapLoadIndex].gMapCenter); $(this).css(\'display\', \'none\').blur(); return(false);">'+
    197197              '<span>&bull;</span></a>');
    198198      $('#gmapsCenterMap').attr('title', gmaps.lang.centermap);
     
    201201      {
    202202        $('div.gmapsPopup div.ui-dialog-titlebar')
    203           .append('<a href="" id="gmapsBoundKml" onclick="gmaps.maps[gmaps.currentMapLoadIndex].gMap.fitBounds(gmaps.maps[gmaps.currentMapLoadIndex].gMap.kmlFile.getDefaultViewport()); $(this).css(\'display\', \'none\').blur(); return(false);">'+
     203          .append('<a href="#" id="gmapsBoundKml" onclick="gmaps.maps[gmaps.currentMapLoadIndex].gMap.fitBounds(gmaps.maps[gmaps.currentMapLoadIndex].gMap.kmlFile.getDefaultViewport()); $(this).css(\'display\', \'none\').blur(); return(false);">'+
    204204                  '<span>&sim;</span></a>');
    205205        $('#gmapsBoundKml').attr('title', gmaps.lang.boundkml);
  • extensions/GMaps/templates/gmaps_dialog_area_choose.tpl

    r7128 r7141  
    418418  {
    419419
    420     content="<div>{/literal}{'gmaps_geographic_coords_between'|@translate}{literal}<br>";
     420    var content="<div>{/literal}{'gmaps_geographic_coords_between'|@translate}{literal}<br>";
    421421    content+="<span style='margin-left:20px;'>&bull;&nbsp;"+DDtoDMS(bounds.south)+" {/literal}{'gmaps_south'|@translate} {'gmaps_and'|@translate} "+DDtoDMS(bounds.north)+" {'gmaps_north'|@translate}{literal}</span><br>";
    422422
Note: See TracChangeset for help on using the changeset viewer.