Update geo location search
This commit is contained in:
parent
362dc5c097
commit
b870e66e15
@ -523,7 +523,11 @@ jQuery( document ).ready( function ( $ ) {
|
|||||||
$( '.slide-ranger-max-input', _this ).change();
|
$( '.slide-ranger-max-input', _this ).change();
|
||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
|
} );
|
||||||
|
|
||||||
|
$( 'input[name="geo_radius"]' ).on( 'change', function ( e ) {
|
||||||
|
var val = $( this ).val();
|
||||||
|
$( this ).closest( '.opalestate-popup' ).find( '.radius-status__number' ).html( val );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
//////***Search Search **/
|
//////***Search Search **/
|
||||||
|
@ -25,8 +25,12 @@ $data_deposit = [
|
|||||||
<input class="form-control opal-map-latitude" name="geo_lat" value="<?php echo esc_attr( $geo_lat ); ?>" type="hidden">
|
<input class="form-control opal-map-latitude" name="geo_lat" value="<?php echo esc_attr( $geo_lat ); ?>" type="hidden">
|
||||||
<input class="form-control opal-map-longitude" name="geo_long" type="hidden" value="<?php echo esc_attr( $geo_long ); ?>">
|
<input class="form-control opal-map-longitude" name="geo_long" type="hidden" value="<?php echo esc_attr( $geo_long ); ?>">
|
||||||
<div class="map-remove"><i class="fa fa-close"></i></div>
|
<div class="map-remove"><i class="fa fa-close"></i></div>
|
||||||
<div class="opalestate-popup">
|
<div class="opalestate-popup opalestate-popup-geo-location">
|
||||||
<div class="popup-head">
|
<div class="popup-head">
|
||||||
|
<span class="radius-status">
|
||||||
|
<span class="radius-status__number"><?php echo absint( $max_geo_radius ); ?></span>
|
||||||
|
<span class="radius-status__unit"><?php echo esc_html( $unit ); ?></span>
|
||||||
|
</span>
|
||||||
<span><i class="fa fa-location-arrow"></i></span>
|
<span><i class="fa fa-location-arrow"></i></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="popup-body">
|
<div class="popup-body">
|
||||||
@ -39,6 +43,5 @@ $data_deposit = [
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user