Skip to content

Commit

Permalink
Merge pull request #458 from bmlt-enabled/fixes-to-3.18.1
Browse files Browse the repository at this point in the history
minor fixes mostly with stand-alone map
  • Loading branch information
otrok7 committed Jan 14, 2024
2 parents 9c674f2 + 8eea393 commit ac26c14
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crouton.php
Original file line number Diff line number Diff line change
Expand Up @@ -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__)) {
Expand Down
2 changes: 1 addition & 1 deletion croutonjs/meetingMap/css/meeting_map.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
}
Expand Down
2 changes: 1 addition & 1 deletion croutonjs/meetingMap/js/meeting_map.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 1 addition & 0 deletions croutonjs/src/js/crouton-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit ac26c14

Please sign in to comment.