Skip to content

Commit

Permalink
[BUILD]
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Nov 18, 2021
1 parent d4cc082 commit 14a1d9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions dist/ol-ext.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* ol-ext - A set of cool extensions for OpenLayers (ol) in node modules structure
* @description ol3,openlayers,popup,menu,symbol,renderer,filter,canvas,interaction,split,statistic,charts,pie,LayerSwitcher,toolbar,animation
* @version v3.2.15
* @version v3.2.16
* @author Jean-Marc Viglino
* @see https://github.com/Viglino/ol-ext#,
* @license BSD-3-Clause
Expand Down Expand Up @@ -6873,11 +6873,12 @@ ol.control.Dialog.prototype.setContent = function(options) {
var btn = options.buttons || this.get('buttons');
if (btn) {
form.classList.add('ol-button');
console.log(options)
for (var i in btn) {
ol.ext.element.create ('INPUT', {
type: (i==='submit' ? 'submit':'button'),
value: btn[i],
click: this._onButton(i, btn),
click: this._onButton(i, options.onButton),
parent: buttons
});
}
Expand Down
4 changes: 2 additions & 2 deletions dist/ol-ext.min.js

Large diffs are not rendered by default.

0 comments on commit 14a1d9f

Please sign in to comment.