@bmlt-enabled/croutonjs 3.18.2 → 3.18.4
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 +8 -5
- package/crouton-core.min.js +1 -1
- package/crouton-gmaps.js +8 -5
- package/crouton-gmaps.min.js +1 -1
- package/crouton-nocore.js +4 -4
- package/crouton-nocore.min.js +1 -1
- package/crouton.js +8 -5
- package/crouton.min.js +1 -1
- package/crouton.nojquery.js +8 -5
- package/crouton.nojquery.min.js +1 -1
- package/package.json +1 -1
package/crouton-core.js
CHANGED
|
@@ -14779,10 +14779,10 @@ var croutonDefaultTemplates = {
|
|
|
14779
14779
|
"{{#isNotTemporarilyClosed this}}",
|
|
14780
14780
|
" {{#unless (hasFormats 'VM' this)}}",
|
|
14781
14781
|
" <div>",
|
|
14782
|
-
" <a id='map-button' class='btn btn-primary btn-xs'",
|
|
14783
|
-
"
|
|
14784
|
-
"
|
|
14785
|
-
"
|
|
14782
|
+
" <a onclick='crouton.meetingModal({{this.id_bigint}})' id='map-button' class='btn btn-primary btn-xs'>",
|
|
14783
|
+
" <span class='glyphicon glyphicon-search' aria-hidden='true'></span>",
|
|
14784
|
+
" {{getWord 'meeting details'}}",
|
|
14785
|
+
" </a>",
|
|
14786
14786
|
" </div>",
|
|
14787
14787
|
" <div class='geo hide'>{{this.latitude}},{{this.longitude}}</div>",
|
|
14788
14788
|
" {{/unless}}",
|
|
@@ -17251,7 +17251,10 @@ Crouton.prototype.render = function(doMeetingMap = false) {
|
|
|
17251
17251
|
jQuery("#bmlt-map").removeClass("hide");
|
|
17252
17252
|
}
|
|
17253
17253
|
if (self.config['map_page'] && !doMeetingMap) {
|
|
17254
|
-
|
|
17254
|
+
if (self.meetingData.filter(m => m.venue_type != 2).length==0) {
|
|
17255
|
+
jQuery('#filterButton_embeddedMapPage').addClass('hide');
|
|
17256
|
+
}
|
|
17257
|
+
else croutonMap.initialize('byfield_embeddedMapPage', self.meetingData);
|
|
17255
17258
|
}
|
|
17256
17259
|
if (self.config['refresh_map']) {
|
|
17257
17260
|
croutonMap.refreshMeetings(self.meetingData, true, true);
|