Warning: Undefined array key "constants" in /home/roneva/public_html/resources/js/property_query.js.php on line 3
$( document ).ready(function() {
const errors = "";
const is_this_form = typeof errors.form_name !== 'undefined' && errors.form_name === 'property_inquiry';
if(errors !== '' && is_this_form) showInq(errors);
$('.showInquiry').on('click', function(e){
e.preventDefault();
showInq(null);
});
});
function showInq(errors) {
$.confirm({
boxWidth: '30%',
title: '
Warning: Undefined array key "title_query" in /home/roneva/public_html/resources/js/property_query.js.php on line 26
',
content: 'url:/properties/ajax/inquiry/?slug=
Warning: Trying to access array offset on value of type null in /home/roneva/public_html/resources/js/property_query.js.php on line 27
Warning: Trying to access array offset on value of type null in /home/roneva/public_html/resources/js/property_query.js.php on line 27
&name=
Warning: Trying to access array offset on value of type null in /home/roneva/public_html/resources/js/property_query.js.php on line 27
Warning: Trying to access array offset on value of type null in /home/roneva/public_html/resources/js/property_query.js.php on line 27
',
onContentReady: function () {
if(errors !== '') this.$content.find('form > div:first-child').before('' + Object.values(errors)[0] + '
');
},
buttons: {
formSubmit: {
text: '
Warning: Undefined array key "query_btn" in /home/roneva/public_html/resources/js/property_query.js.php on line 33
',
btnClass: 'btn-blue',
action: function () {
Warning: Trying to access array offset on value of type null in /home/roneva/public_html/resources/js/property_query.js.php on line 37
Warning: foreach() argument must be of type array|object, null given in /home/roneva/public_html/resources/js/property_query.js.php on line 37
// all well
var form = this.$content.find('.frm_property_inquiry');
form.submit();
}
},
cancel: function () {
//close
},
}
});
}