Closed (fixed)
Project:
Openlayers
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
7 Jul 2010 at 14:12 UTC
Updated:
3 Jan 2014 at 01:42 UTC
Jump to comment: Most recent
You can see this issue when you configure a OpenLayers Map field in CCK.
Set the options of the Zoom to Layer fieldset to some values and save.
Then open the field settings page again and the default values will be there. (in the database they are right)
Wasn't sure which side I had to fix. I decided to fix it in openlayers_cck.module.
The other option would have been "/openlayers/includes/behaviors/openlayers_behavior_zoomtolayer.inc".
I wasn't 100% sure because I don't know what content should be in the argument of options_form($defaults).
However, this patch fixes this issue with a one-line-change.
| Comment | File | Size | Author |
|---|---|---|---|
| openlayers-cck-zoomtolayers-settings-always-default.patch | 785 bytes | Sanjo |
Comments
Comment #1
tmcw commentedGreat catch, reviewed & committed: http://drupal.org/cvs?commit=389912