mirror of
https://github.com/netzmacht/contao-leaflet-geocode-widget.git
synced 2026-02-28 09:08:14 +01:00
Fix #5: Show pointer cursor.
This commit is contained in:
@@ -25,7 +25,7 @@ $GLOBALS['TL_JAVASCRIPT'][] = 'bundles/leafletgeocodewidget/js/geocode.widget.js
|
|||||||
onfocus="Backend.getScrollOffset()"
|
onfocus="Backend.getScrollOffset()"
|
||||||
>
|
>
|
||||||
|
|
||||||
<img src="bundles/leafletgeocodewidget/img/map.png" id="ctrl_<?= $this->id ?>_toggle">
|
<a href="#"><img src="bundles/leafletgeocodewidget/img/map.png" id="ctrl_<?= $this->id ?>_toggle"></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?= $this->wizard ?>
|
<?= $this->wizard ?>
|
||||||
|
|||||||
@@ -143,7 +143,9 @@ var LeafletGeocodeWidget = L.Class.extend({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
_showMap: function () {
|
_showMap: function (e) {
|
||||||
|
e.stop();
|
||||||
|
|
||||||
// Create modal window.
|
// Create modal window.
|
||||||
var content = L.Util.template(this.options.mapTemplate, this.options);
|
var content = L.Util.template(this.options.mapTemplate, this.options);
|
||||||
this.modal = this._createModal();
|
this.modal = this._createModal();
|
||||||
|
|||||||
Reference in New Issue
Block a user