maps: add js trigger event to render maps (#59409)
This commit is contained in:
parent
232afadc29
commit
95851f2b59
|
@ -330,7 +330,9 @@ $(function() {
|
|||
map.load_geojson_layers()
|
||||
$(cell).trigger('combo:map-ready');
|
||||
};
|
||||
$('div.cell.map').each(function() {
|
||||
render_map(this);
|
||||
});
|
||||
$(document).on('combo:render-maps', function() {
|
||||
$('div.cell.map').each(function() {
|
||||
render_map(this);
|
||||
});
|
||||
}).trigger('combo:render-maps');
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue