Skip to content
Snippets Groups Projects
  1. Dec 01, 2009
    • Brandon Bergren's avatar
      · c92341bf
      Brandon Bergren authored
      Add a way to bind controls that we aren't able to set the id/classes on from the Drupal side.
      
      This lets us work around the fact that gmap_widget_setup() completely fails to work on CCK fields.
      
      Example:
      <code>
        $remap = array(
          'edit-field-latitude-0-value' => array('classes' => array('gmap-locpick_latitude'), 'id' => 'gmap-loc0-locpick_latitude0'),
          'edit-field-longitude-0-value' => array('classes' => array('gmap-locpick_longitude'), 'id' => 'gmap-loc0-locpick_longitude0'),
          'edit-field-address-0-value' => array('classes' => array('gmap-locpick_address'), 'id' => 'gmap-loc0-locpick_address0'),
        );
        drupal_add_js(array('gmap_remap_widgets' => $remap), 'setting');
      
        /* ... stuff copied from gmap_set_location(), etc... */
      </code>
      c92341bf
  2. Apr 06, 2009
    • Brandon Bergren's avatar
      I did say it was experimental! :-/ · 9cb75447
      Brandon Bergren authored
      Fix issue when bootstrapping multiple maps, jquery's each was calling the callback with a parameter and it was attempting to use it as a settings array.
      
      Fixed it by isolating the callback.
      9cb75447
  3. Mar 13, 2009
  4. Feb 11, 2009
  5. Jan 30, 2009
  6. Dec 19, 2008
  7. Dec 18, 2008
  8. Oct 29, 2008
  9. Oct 01, 2008
  10. Sep 11, 2008
  11. Jul 15, 2008
Loading