Commit c91685ad authored by Alan Lobo's avatar Alan Lobo Committed by Ken Greenslade
Browse files

Issue #3105902 by alansaviolobo: Components BootstrapjsPopup & BootstrapjsAlert dont appear to work

parent 584659a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
Drupal.openlayers.pluginManager.register({
  fs: 'openlayers.Component:BoostrapjsAlert',
  fs: 'openlayers.Component:BootstrapjsAlert',
  init: function(data) {
    jQuery("#" + data.map.getTarget()).before("<div class='alert alert-success' data-dismiss='alert'><a href='#' class='close' data-dismiss='alert'>&times;</a>" + data.opt.message + "</div>");
  }
+1 −1
Original line number Diff line number Diff line
Drupal.openlayers.pluginManager.register({
  fs: 'openlayers.Component:BoostrapjsPopup',
  fs: 'openlayers.Component:BootstrapjsPopup',
  init: function(data) {
    jQuery("body").append("<div id='popup'></div>");