Skip to content
  1. Mar 31, 2011
  2. Mar 10, 2011
  3. Mar 09, 2011
  4. Feb 25, 2011
  5. Feb 11, 2011
  6. Feb 01, 2011
  7. Jan 27, 2011
  8. Jan 26, 2011
  9. Jan 13, 2011
  10. Jan 09, 2011
  11. Dec 01, 2010
  12. Nov 30, 2010
  13. Jul 06, 2010
  14. Jul 03, 2010
  15. Jun 13, 2010
  16. Jun 08, 2010
  17. Apr 01, 2010
  18. Jan 24, 2010
  19. Jan 10, 2010
  20. Jan 09, 2010
  21. Dec 12, 2009
  22. Dec 01, 2009
    • Brandon Bergren's avatar
      From [#452316]: · 196b57b6
      Brandon Bergren authored
      Stop confusing the marker system by blindly wrapping marker.text in a div, even
      if it didn't exist.
      196b57b6
    • Brandon Bergren's avatar
      Add a way to bind controls that we aren't able to set the id/classes on from the Drupal side. · a6ae3a4a
      Brandon Bergren authored
      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>
      a6ae3a4a
    • Brandon Bergren's avatar
      [#286653] by jcmarco et al: Use drupal_add_js() like everyone else. · 5a24a253
      Brandon Bergren authored
      HOPEFULLY it will work okay.
      The reason I was reluctant to change this is the interactions between drupal_add_js()
      and hook_filter(), described at
      http://mostrey.be/hookfilter-versus-drupaladdjs
      
      If anyone has troubles with macros after this change, I will have to revisit gmap's filter
      stuff.
      5a24a253
  23. Apr 17, 2009
  24. Apr 06, 2009