@bmlt-enabled/croutonjs 3.18.1 → 3.18.3

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 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
- " href='https://www.google.com/maps/search/?api=1&query={{this.latitude}},{{this.longitude}}&q={{this.latitude}},{{this.longitude}}'",
14784
- " target='_blank' rel='noopener noreferrer'>",
14785
- " <span class='glyphicon glyphicon-map-marker'></span> {{this.map_word}}</a>",
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}}",
@@ -16390,6 +16390,7 @@ function Crouton(config) {
16390
16390
  crouton_Handlebars.registerPartial('meetings', hbs_Crouton.templates['meetings']);
16391
16391
  crouton_Handlebars.registerPartial('bydays', hbs_Crouton.templates['byday']);
16392
16392
  crouton_Handlebars.registerPartial('formatPopup', hbs_Crouton.templates['formatPopup']);
16393
+ window.crouton = self;
16393
16394
  croutonMap.initialize(self.createBmltMapElement(),self.meetingData,context,null,fitBounds,callback);
16394
16395
  }
16395
16396
  self.getCurrentLocation = function(callback) {