Skip to content

Commit 78b0262

Browse files
committed
Merge branch 'release/1.10.1'
2 parents 4ec6dcd + 83af095 commit 78b0262

7 files changed

Lines changed: 18 additions & 10 deletions

File tree

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gh-datainmap",
3-
"version": "1.10.0",
3+
"version": "1.10.1",
44
"description": "",
55
"main": "index.js",
66
"scripts": {
@@ -18,9 +18,9 @@
1818
"dependencies": {
1919
"@babel/polyfill": "^7.12.1",
2020
"classnames": "^2.3.1",
21-
"core-js": "^3.16.3",
21+
"core-js": "~3.15.2",
2222
"lodash": "^4.17.21",
23-
"ol": "^6.6.1",
23+
"ol": "~6.5.0",
2424
"proj4": "^2.7.5",
2525
"react": "^17.0.1",
2626
"react-dom": "^17.0.1",

plugins/gh-datainmap/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
**1.10.1 (2021-10-06)**
2+
3+
- Fix voor kaartweergave in de backend. Deze was namelijk niet zichtbaar.
4+
- Fix voor jQuery deprecation van `ready()` in de backend.
5+
- Oudere versies van ondersteunende software bibliotheken weer in gebruik genomen i.v.m. problemen in de backend.
6+
17
**1.10.0 (2021-08-25)**
28

39
- Nieuwe versies van ondersteunende software bibliotheken in gebruik genomen.

plugins/gh-datainmap/gh-datainmap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Plugin Name: Data In Map
44
Plugin URI: https://bitbucket.org/gemeenteheerenveen/datainmap-plugin/src/master/
55
Description: Data In Map is a plugin for displaying maps.
6-
Version: 1.10.0
6+
Version: 1.10.1
77
Requires at least: 5.0
88
Requires PHP: 7.2
99
Author: Gemeente Heerenveen
@@ -26,7 +26,7 @@
2626
*/
2727

2828
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
29-
if ( ! defined('GH_DIM_VERSION')) define('GH_DIM_VERSION', '1.10.0');
29+
if ( ! defined('GH_DIM_VERSION')) define('GH_DIM_VERSION', '1.10.1');
3030
if ( ! defined('GH_DIM_FILE')) define('GH_DIM_FILE', __FILE__);
3131
if ( ! defined('GH_DIM_DIR')) define('GH_DIM_DIR', dirname(__FILE__));
3232
if ( ! defined('GH_DIM_DEBUG')) define('GH_DIM_DEBUG', false);

src/admin-layers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*/
1414
import jQuery from 'jquery';
1515
const $ = jQuery;
16-
$(document).ready(function() {
16+
$(function() {
1717
const layerType = $('#gh_dim_layer_type');
1818
if(!layerType) {
1919
return;

src/admin-location.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ $(document).ready(function() {
7979
});
8080

8181
// Location Content Type (Post, Redirect etc.)
82-
$(document).ready(function() {
82+
$(function() {
8383
const allFields = [
8484
'#gh_dim_location_redirect_url'
8585
];

src/admin-locationpicker.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {configureMapView, fetchWMTSLayer, setSearchProjection, setSearchTownship
2323
import {mapReducer} from './reducers/map';
2424
import {searchReducer} from './reducers/search';
2525
import { filterReducer } from './reducers/filter';
26+
import { togglerReducer } from './reducers/toggler';
2627
import {Vector as VectorLayer} from 'ol/layer';
2728
import {Vector as VectorSource } from 'ol/source';
2829
import {Fill, Stroke, Style} from 'ol/style';
@@ -38,7 +39,8 @@ const _ = ld.noConflict();
3839
const rootReducer = combineReducers({
3940
map: mapReducer,
4041
search: searchReducer,
41-
filter: filterReducer
42+
filter: filterReducer,
43+
toggler: togglerReducer
4244
});
4345

4446
const middleware = applyMiddleware(createDebounce(), thunk);

src/scss/style.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ $textcolor-button-hover: $textcolor-button-neutral;
1313
$shadow-color: rgba(0, 0, 0, 0.5);
1414

1515
.ol-zoom {
16-
left:auto;
17-
top:auto;
16+
left:auto!important;
17+
top:auto!important;
1818
right:.5em;
1919
bottom:.5em;
2020
}

0 commit comments

Comments
 (0)