0001-maps-fix-attribute-name-init_with_geoloc-57610.patch
wcs/qommon/static/js/qommon.map.js | ||
---|---|---|
138 | 138 |
}); |
139 | 139 |
var is_preview = $('.form-preview').length == 1; |
140 | 140 |
position_prefil = $map_widget.parent().parent().data('geolocation') == 'position'; |
141 |
if (! ($map_widget.data('readonly') || is_preview) && ($map_widget.data('init-with-geoloc') || position_prefil)) {
|
|
141 |
if (! ($map_widget.data('readonly') || is_preview) && ($map_widget.data('init_with_geoloc') || position_prefil)) {
|
|
142 | 142 |
$map_widget.addClass('waiting-for-geolocation'); |
143 | 143 |
$map_widget.removeClass('geolocation-error'); |
144 | 144 |
map.on('locationfound', function(e) { |
145 |
- |