Fixed a couple of small errors in the code.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 0001-Miscellaneous-fix.patch | 9 KB | pol |
| #1 | 0001-Fix-Typo-Boxk-Box.patch | 6.68 KB | pol |
Fixed a couple of small errors in the code.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 0001-Miscellaneous-fix.patch | 9 KB | pol |
| #1 | 0001-Fix-Typo-Boxk-Box.patch | 6.68 KB | pol |
Comments
Comment #1
polComment #2
polI've also noticed that the hook
openlayers_init()is in the moduleopenlayers_ui. Why ?Comment #3
zzolo commentedThe hook implementation is pretty well commented. It's doing two things that are both focused on UI messages.
1) Backwards compatibility checks from the move of Presets to Maps. This can be dropped in the 3.x version.
2) OpenLayers library version check. My method of doing this is pretty stupid; it should just be handled by reading and parsing the library in PHP.
http://drupalcode.org/project/openlayers.git/blob/refs/heads/7.x-2.x:/mo...
Comment #4
polOk thanks for the explanations.
I will rename the hook in openlayers_ui_init() then.
Comment #5
polNew patch with some fixes.
Comment #6
pol