diff --git a/crouton.php b/crouton.php index a6769a5..ef342a3 100644 --- a/crouton.php +++ b/crouton.php @@ -5,7 +5,7 @@ Description: A tabbed based display for showing meeting information. Author: bmlt-enabled Author URI: https://bmlt.app -Version: 3.18.1 +Version: 3.18.2 */ /* Disallow direct access to the plugin file */ if (basename($_SERVER['PHP_SELF']) == basename(__FILE__)) { diff --git a/croutonjs/meetingMap/css/meeting_map.css b/croutonjs/meetingMap/css/meeting_map.css index 9144d97..f5e33b4 100644 --- a/croutonjs/meetingMap/css/meeting_map.css +++ b/croutonjs/meetingMap/css/meeting_map.css @@ -242,7 +242,7 @@ div.bmlt_map_container_div button { top: 0; width: 100%; /* Full width */ height: 100%; /* Full height */ - overflow: auto; /* Enable scroll if needed */ + overflow: auto !important; /* Enable scroll if needed */ background-color: rgb(0,0,0); /* Fallback color */ background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ } diff --git a/croutonjs/meetingMap/js/meeting_map.js b/croutonjs/meetingMap/js/meeting_map.js index 7616c3e..0a07f78 100644 --- a/croutonjs/meetingMap/js/meeting_map.js +++ b/croutonjs/meetingMap/js/meeting_map.js @@ -256,7 +256,7 @@ function MeetingMap(inConfig) { else if (config.map_search.coordinates_search) { showThrobber(); config.map_search.coordinates_search = false; - crouton.searchByCoordinates(config.map_search.latitude, config.map_search.longitude); + crouton.searchByCoordinates(config.map_search.latitude, config.map_search.longitude, config.map_search.width); } else if (config.map_search.location) gDelegate.callGeocoder(config.map_search.location, null, mapSearchGeocode); else showBmltSearchDialog(); diff --git a/croutonjs/src/js/crouton-core.js b/croutonjs/src/js/crouton-core.js index 81795d9..fc89038 100644 --- a/croutonjs/src/js/crouton-core.js +++ b/croutonjs/src/js/crouton-core.js @@ -474,6 +474,7 @@ function Crouton(config) { crouton_Handlebars.registerPartial('meetings', hbs_Crouton.templates['meetings']); crouton_Handlebars.registerPartial('bydays', hbs_Crouton.templates['byday']); crouton_Handlebars.registerPartial('formatPopup', hbs_Crouton.templates['formatPopup']); + window.crouton = self; croutonMap.initialize(self.createBmltMapElement(),self.meetingData,context,null,fitBounds,callback); } self.getCurrentLocation = function(callback) { diff --git a/readme.txt b/readme.txt index 2a53ab8..cb224d7 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: na, meeting list, meeting finder, maps, recovery, addiction, webservant, b Requires at least: 4.0 Required PHP: 8.0 Tested up to: 6.4.2 -Stable tag: 3.18.1 +Stable tag: 3.18.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html crouton implements a Tabbed UI for BMLT. @@ -36,6 +36,9 @@ https://demo.bmlt.app/crouton == Changelog == += 3.18.2 = +* Bug fix release + = 3.18.1 = * [meeting_count] and [group_count] have new attribute, "live". If set to 1, the value is updated to reflect the current state of the filters. * All other attributes on [meeting_count] and [group_count] are ignored.