@bmlt-enabled/croutonjs 4.1.11 → 4.1.12

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.
@@ -15286,7 +15286,7 @@ function Crouton(config) {
15286
15286
  self.currentView = "weekday";
15287
15287
  self.distanceTabAllowed = false;
15288
15288
  self.config = {
15289
- version: '4.1.11', // CroutonJS version for debugging
15289
+ version: '4.1.12', // CroutonJS version for debugging
15290
15290
  on_complete: null, // Javascript function to callback when data querying is completed.
15291
15291
  root_server: null, // The root server to use.
15292
15292
  placeholder_id: "bmlt-tabs", // The DOM id that will be used for rendering
@@ -16465,7 +16465,6 @@ Crouton.prototype.render = function(doMeetingMap = false, fitBounds=true) {
16465
16465
  if (self.isEmpty(self.meetingData)) {
16466
16466
  jQuery('#please-wait').remove();
16467
16467
  self.showMessage("No meetings found for parameters specified.");
16468
- alert("No meetings found for parameters specified.");
16469
16468
  if (self.config['refresh_map']) {
16470
16469
  croutonMap.refreshMeetings(self.meetingData, fitBounds, true);
16471
16470
  }
@@ -16790,7 +16789,7 @@ Crouton.prototype.render = function(doMeetingMap = false, fitBounds=true) {
16790
16789
  if (self.config['on_complete'] != null && isFunction(self.config['on_complete'])) {
16791
16790
  self.config['on_complete']();
16792
16791
  }
16793
- }, !doMeetingMap);
16792
+ }, !doMeetingMap || (!self.config['lat'] && !self.config['lng']));
16794
16793
  });
16795
16794
  });
16796
16795
  Crouton.prototype.forceShowMap = function() {