@bmlt-enabled/croutonjs 3.20.6 → 3.20.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/crouton-core.js +1 -1
- package/crouton-core.min.js +1 -1
- package/crouton-gmaps.js +6 -2
- package/crouton-gmaps.min.js +1 -1
- package/crouton-map.js +5 -1
- package/crouton-map.min.js +1 -1
- package/crouton.js +6 -2
- package/crouton.min.js +1 -1
- package/crouton.nojquery.js +6 -2
- package/crouton.nojquery.min.js +1 -1
- package/package.json +1 -1
package/crouton.nojquery.js
CHANGED
|
@@ -17011,7 +17011,7 @@ function Crouton(config) {
|
|
|
17011
17011
|
if (self.config['map_search']) self.searchMap();
|
|
17012
17012
|
else self.meetingSearch();
|
|
17013
17013
|
}
|
|
17014
|
-
else if (!
|
|
17014
|
+
else if (!window.croutonMap.hasMapSearch()) self.meetingSearch();
|
|
17015
17015
|
}
|
|
17016
17016
|
|
|
17017
17017
|
Crouton.prototype.setConfig = function(config) {
|
|
@@ -18213,7 +18213,9 @@ function MeetingMap(inConfig) {
|
|
|
18213
18213
|
|
|
18214
18214
|
return controlDiv;
|
|
18215
18215
|
}
|
|
18216
|
-
|
|
18216
|
+
function hasMapSearch() {
|
|
18217
|
+
return 'map_search' in config;
|
|
18218
|
+
}
|
|
18217
18219
|
function loadFromCrouton(inDiv_id, meetings_responseObject, menuContext = null, handlebarMapOptions = null, fitBounds = true, callback) {
|
|
18218
18220
|
if (!gDelegate.isApiLoaded()) {
|
|
18219
18221
|
preloadApiLoadedCallback(loadFromCrouton, [inDiv_id, meetings_responseObject, menuContext, handlebarMapOptions, fitBounds, callback]);
|
|
@@ -18740,6 +18742,7 @@ function MeetingMap(inConfig) {
|
|
|
18740
18742
|
this.closeModalWindow = closeModalWindow;
|
|
18741
18743
|
this.loadPopupMap = loadPopupMap;
|
|
18742
18744
|
this.filterVisible = filterVisible;
|
|
18745
|
+
this.hasMapSearch = hasMapSearch;
|
|
18743
18746
|
};
|
|
18744
18747
|
MeetingMap.prototype.initialize = null;
|
|
18745
18748
|
MeetingMap.prototype.showMap = null;
|
|
@@ -18752,6 +18755,7 @@ MeetingMap.prototype.openModalWindow = null;
|
|
|
18752
18755
|
MeetingMap.prototype.closeModalWindow = null;
|
|
18753
18756
|
MeetingMap.prototype.loadPopupMap = null;
|
|
18754
18757
|
MeetingMap.prototype.filterVisible = null;
|
|
18758
|
+
MeetingMap.prototype.hasMapSearch = null;
|
|
18755
18759
|
|
|
18756
18760
|
function MapDelegate(config) {
|
|
18757
18761
|
var g_icon_image_single = L.icon({
|