@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.js
CHANGED
|
@@ -14782,10 +14782,10 @@ var croutonDefaultTemplates = {
|
|
|
14782
14782
|
"{{#isNotTemporarilyClosed this}}",
|
|
14783
14783
|
" {{#unless (hasFormats 'VM' this)}}",
|
|
14784
14784
|
" <div>",
|
|
14785
|
-
" <a id='map-button' class='btn btn-primary btn-xs'",
|
|
14786
|
-
"
|
|
14787
|
-
"
|
|
14788
|
-
"
|
|
14785
|
+
" <a onclick='crouton.meetingModal({{this.id_bigint}})' id='map-button' class='btn btn-primary btn-xs'>",
|
|
14786
|
+
" <span class='glyphicon glyphicon-search' aria-hidden='true'></span>",
|
|
14787
|
+
" {{getWord 'meeting details'}}",
|
|
14788
|
+
" </a>",
|
|
14789
14789
|
" </div>",
|
|
14790
14790
|
" <div class='geo hide'>{{this.latitude}},{{this.longitude}}</div>",
|
|
14791
14791
|
" {{/unless}}",
|
|
@@ -17254,7 +17254,10 @@ Crouton.prototype.render = function(doMeetingMap = false) {
|
|
|
17254
17254
|
jQuery("#bmlt-map").removeClass("hide");
|
|
17255
17255
|
}
|
|
17256
17256
|
if (self.config['map_page'] && !doMeetingMap) {
|
|
17257
|
-
|
|
17257
|
+
if (self.meetingData.filter(m => m.venue_type != 2).length==0) {
|
|
17258
|
+
jQuery('#filterButton_embeddedMapPage').addClass('hide');
|
|
17259
|
+
}
|
|
17260
|
+
else croutonMap.initialize('byfield_embeddedMapPage', self.meetingData);
|
|
17258
17261
|
}
|
|
17259
17262
|
if (self.config['refresh_map']) {
|
|
17260
17263
|
croutonMap.refreshMeetings(self.meetingData, true, true);
|